Alert Rules
Think of alert rules as your notification command center. Each rule defines four key elements:- Event: What triggers the alert (like a monitor failing or a certificate nearing expiration)
- Scope: Where the rule applies (organization-wide or just in specific projects)
- Rate limit: How often the notification can be sent (preventing notification fatigue)
- Integration: Where to send the alert (email, Slack, Discord, etc.)
Events
Phare can alert you of various events, each with its own configuration options and use cases. You choose which events matter most to your organization and can set up multiple alert rules for a single event type.Monitor Events
| Event | API format | Description |
|---|---|---|
| Monitor created | uptime.monitor.created | Sent when a new monitor is created, great for logging or auditing purposes. |
| Monitor deleted | uptime.monitor.deleted | Sent when a monitor is deleted, great for logging or auditing purposes. |
Certificate Events
| Event | API format | Description |
|---|---|---|
| Monitor certificate updated | uptime.monitor_certificate.discovered | Sent when a monitor’s SSL certificate is updated, useful for tracking changes and certificate renewal confirmation. |
| Monitor certificate expiring | uptime.monitor_certificate.expiring | Sent when a monitor’s SSL certificate is nearing expiration, based on a configurable threshold. |
Incident Events
| Event | API format | Description |
|---|---|---|
| Incident created | uptime.incident.created | Sent when a new incident is created, this is the main alert for incident management. |
| Incident propagated | uptime.incident.propagated | Sent when an incident propagates to an additional monitor. Requires smart incident merging to be enabled. |
| Incident partially recovered | uptime.incident.partially_recovered | Sent when a monitor recovers but the incident is still ongoing due to other affected monitors. Requires smart incident merging to be enabled. |
| Incident recovered | uptime.incident.recovered | Sent when an incident has fully recovered, indicating that all affected monitors are back to normal. |
| Incident comment created | uptime.incident_comment.created | Sent when a new comment is added to an incident, useful for keeping team members informed of updates and discussions. |
| Incident update published | uptime.incident_update.published | Sent when a new public incident update is published on a status page, useful for notifying stakeholders and users about the incident status. |
Scope
Keep your alerts relevant by setting the right scope:- Organization: Catch all matching events across your entire organization
- Project: Focus only on events within specific projects