Skip to main content
Gå til innhold

Alerting

Alerts notify you when something needs attention. Instead of watching dashboards constantly, set up alerts to proactively inform you of issues.

For most teams, Grafana Alerting is the easiest way to get started. You configure alerts directly in the Grafana UI - no YAML files or deployments needed.

What You Can Alert On

  • Log patterns: Alert when error logs exceed a threshold
  • Metrics: Alert when request latency is too high
  • Absence: Alert when expected data stops arriving

Security Note

Authentication Mode

Grafana alerting requires your organization in Grafana to use BasicAuth mode to connect to the databases (instead of OAuth). This is a slightly different security model. Contact the Platon team on #platon to enable alerting for your organization.

Setting Up Grafana Alerting

  1. Go to Grafana
  2. Navigate to AlertingAlert rules
  3. Click New alert rule
  4. Configure your query and threshold
  5. Set up notification destinations (Slack, Teams)

Notification Channels

Grafana can send alerts to:

  • Slack: Post to a channel
  • Microsoft Teams: Post to a channel

Configure destinations in AlertingContact points.

Learn More

Alternative: Prometheus Rules

For teams that prefer alerting as code - configuration files version-controlled alongside your application - or want to notfy the service center on certain alerts, see Prometheus Rules & Argus.