Loki alerting and recording rules

Alerting on log patterns and turning logs into stored metrics with Loki's ruler, Grafana Alerting and Prometheus-compatible backends.

Loki alerting rules with Alertmanager

Writing LogQL alert rules evaluated by the Loki ruler and sending them to Prometheus Alertmanager: rule groups, for durations, labels and annotations, and where rule files are stored.

Grafana-managed alerts vs Loki-managed rules

Choosing where log alerts live: Grafana-managed rules that can combine data sources and handle no-data states, or data source managed rules stored in Loki's ruler, and how each fits GitOps and multi-tenancy.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.