We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Alert Thresholds

Setting sane thresholds is what makes alerting practical.

A rule should fire only when a bad condition is sustained long enough to matter. In Grafana, that usually means tuning:

  • The threshold value (how many 500-status responses is enough to trigger an alert)
  • The query window (over what time period we need to see the threshold breached)
  • The "pending period" duration (how long the condition must hold)

We want to avoid firing when a short spike appears and suddenly disappears (for example, a blip in a deployment that self-heals).

Assignment

Update your alert rule's thresholds and pending duration.

Run and submit the CLI tests from the root of the Linko repo.