Create alerts from templates ΒΆ

Under construction

The Alerts tab is still being built out. Creating alert rules from the templates below works today. Organizing those rules into proper per-team folders β€” and the storage story behind them β€” is an ongoing platform effort and not finished yet, so don't rely on where a rule lands for now.

Nais APM can pre-fill a Grafana alert rule for you, scoped to the service (and, where it makes sense, the exact issue) you're looking at. You review the generated rule and choose where it notifies β€” Nais APM builds the query, you own the delivery.

Create an alert ΒΆ

From a service page or an issue drawer, use the Create alert action. It opens Grafana's new-rule form with the query, thresholds, and a back-link annotation already filled in. Adjust anything you like, then set the contact point and save.

The annotation on issue-related alerts deep-links straight back to the issue in Nais APM, so a notification takes you to the exact error.

The templates ΒΆ

TemplateAlerts whenScope
Error rateThe service's error ratio crosses ~5% of requestsService
Exception spikeOccurrences of a specific issue exceed a threshold in a 5-minute windowA single issue
New exceptionsA new exception pattern appears that wasn't there beforeService
Web vitalsCore Web Vitals degrade (frontend UX health)Service (frontend)
  • Error rate builds a Mimir rule from the service's RED metrics.
  • Exception spike is per-issue β€” open it from an issue drawer to alert on that fingerprint specifically.
  • New exceptions is a LogQL approximation of "an error we've never seen before just showed up." It ships with an honest in-product explainer of what it can and can't catch.
  • Web vitals watches the browser-side performance signals, not errors.

No burn-rate template yet

SLO / error-budget burn-rate alerting is on the roadmap but not shipped. Only the four templates above exist today.

Issue-related alerts (exception spike, new exceptions) annotate back to the Issues tab. The web-vitals alert points at the Frontend tab β€” it's a UX-health alert, not an issue. These links are a stable contract: they keep resolving across releases, so alerts you created months ago still open the right place.