Skip to content

Alerts and notifications

Write alert rules, reduce noise with grouping and muting, and send to email, Slack, PagerDuty, Opsgenie, Microsoft Teams, Discord, SMS or a webhook.

How alerting works

  • Rules describe what is worth an alert, for example “response time above 1000 ms for 5 minutes”.
  • Alerts are what a rule raises. An alert is firing until the condition clears, then resolved. One rule never has more than one firing alert at a time.
  • Channels are where alerts are sent: email, SMS, Slack, Microsoft Teams, Discord, Zoho Cliq, a webhook, PagerDuty, Opsgenie or an on-call escalation policy (see On-call).
  • Integrations hold the credentials a channel needs, such as a Slack connection or an SMS provider account.

Connect a channel

  1. Connect the integration

    Go to Settings › Integrations and connect Slack, Microsoft Teams, Discord, Zoho Cliq or a webhook. Each card links to the provider's own help for the values it needs. A channel is created for you.

  2. Or add email or SMS

    Go to Channels › New channel. Email needs recipients. SMS needs phone numbers in international format (for example +14155550100) and an SMS provider integration.

  3. Send a test

    Choose Send test. You see the provider's real answer, including its error message if something is wrong. The Delivery log tab lists every message with its status and attempts.

Integration credentials are write-only: after saving you only see masked values, and leaving a field empty when editing keeps the stored value.

Create a rule

  1. Open Alerts

    Go to Alerts, open the Rules tab and click New rule. The form has three parts: Condition, Scope and severity, and Notify.

  2. Choose a condition

    Pick one of the conditions below and fill in its threshold and time window.

  3. Choose the scope

    Monitor conditions apply to All monitors or One monitor. Metric conditions can be narrowed with label filters and APM conditions to a service, environment and endpoint.

  4. Set severity and channels

    Severity is info, warning or critical. Pick extra channels if this rule should go somewhere besides your “every alert” channels.

  5. Open an incident (optional)

    Turn on Open an incident when it fires to track the problem on Incidents with a timeline. The incident resolves when the alert does. Monitor outages open an incident anyway.

  6. Test it

    Test rule shows whether the rule would fire right now without sending anything, and the form also previews how many times it would have fired in the last 7 days. From the rules list, Would have fired last week… replays a saved rule.

Conditions

Alert conditions
ConditionFires whenExample
Response time aboveThe average response time stays above a limit for a period.Above 1000 ms for 5 minutes
Consecutive failuresA monitor fails a number of checks in a row.3 failed checks
Error rate aboveThe share of failed checks in a window exceeds a percentage.Above 5% over 5 minutes
SSL expiryA certificate expires within a number of days.Within 14 days
Incident openedAn incident is opened for a monitor in scope.Any incident
Metric thresholdA metric you send crosses a threshold over a window (aggregation avg, min, max, sum, count or p95), optionally only points with given labels, and optionally checked per value of a label such as instance.infra.cpu_utilization_percent above 80 for 5 minutes
APM metricA service’s latency, error rate, traffic or heartbeat crosses a threshold.p95 latency above 500 ms for 5 minutes
No dataA monitor or a metric stops reporting for a number of minutes.No data for 10 minutes
AnomalyA metric moves away from its own normal by more than N standard deviations, using a rolling baseline (1 to 168 hours) or the same hour of the week over the last 4 weeks.3 deviations above normal
Combined conditionsAll (AND) or any (OR) of 2 to 5 conditions hold.A monitor failing while CPU is high

APM metrics you can alert on: p95 and p99 latency, error rate, failed request count, request count (for example “fewer than 1 request in 5 minutes”), traffic change compared with the previous window, time since the service last reported, and database p95. See APM alerts.

Noise control

  • Time windows stop a short spike from alerting: the condition must hold for the whole window.
  • Re-notify every (minutes) repeats the message while a problem lasts (for example every hour), with an optional cap on the number of reminders, so a firing alert is not forgotten. 0 sends one notification per episode.
  • Cooldown after resolve keeps a rule quiet for a while after it resolves, so a flapping service does not flood the channel.
  • Silence does not fire threshold rules: if a service stops sending, a latency or metric threshold rule stays as it was. Use a No data rule, an APM time-since-last-telemetry rule or a request-count rule to catch silence.

Alert grouping

When many monitors fail at once, alert grouping combines them into a single notification instead of sending one per monitor. Set Group related alerts in the Notify part of a rule. Alerts that share the chosen key and start within the group window (1 minute to 24 hours, default 5 minutes) arrive as one notification with a count; later ones attach to it.

Grouping options
OptionEffect
Same applicationAlerts about monitors of the same application are combined.
Same serviceAlerts for the same service label are combined.
Same monitorAlerts about the same monitor are combined.
Same ruleEverything this rule raises in the window is combined.
Do not group (default)One notification per firing alert.

Mute windows

A mute window silences alerts during planned work (a deploy, a migration, a weekly maintenance slot) without pausing or deleting any rule. Alerts in scope are still recorded and shown as muted; nobody is notified.

  1. Create a window

    Go to Alerts › Mute windows › New mute window. Give it a name and an optional reason.

  2. Set the schedule

    Choose Once (from and to), Every week (days, start time, length in minutes and time zone) or a Cron expression.

  3. Choose the scope

    Pick the applications, monitors and rules the window covers. Switch the window off to keep it without applying it.

Working with alerts

The Alerts tab lists firing and resolved alerts, live. Acknowledge a firing alert to show your team someone is on it. Alerts that a mute window or maintenance kept quiet are marked Muted, and an alert nobody was notified about says so. An alert links to the incident it opened, where you investigate and resolve. See Incidents.

Rules can be switched off and on without deleting them. Creating, editing and testing rules and acknowledging alerts need the alert.manage permission (Admins and Owners by default).

Weekly summary email

Each member can get a summary every Monday at 08:00 UTC: requests, error rate and p95 latency, the most frequent errors, and incidents of the organization. Turn it on in Settings › Account › Weekly summary; Send me this week's summary now sends one straight away. It only includes what your role can see.

Send alerts to your own systems

A webhook channel posts alerts to a URL of yours. For a signed, retried event stream covering monitors, incidents and alerts, use Webhooks instead.

Something unclear or missing? Open VitalRix and use the in-app setup guides, or read Troubleshooting.