Grafana, end to endGrafana in production: alerting, traces, Alloy, as code, scale and SLOs
6 lessons · about 109 minutes of reading · Helmsman Pro
This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.
Sign in and start
In short
Running Grafana for an organisation: Grafana Alerting, Tempo and TraceQL with exemplars and profiles, Grafana Alloy and OpenTelemetry collection, observability as code with Terraform and Git Sync, high availability and upgrades, and SLO dashboards with an end-to-end capstone.
Before you start: Course 52.
What you'll learn
- Grafana-managed rules (any data source) or data source-managed rules (Mimir, Loki)
- Queries → expressions → threshold; evaluation group and pending period
- Labels route; annotations explain; set No Data and Error behaviour
- Contact points + notification policy tree; silences and time intervals
- Traces are span trees linked by a propagated trace ID
- Instrument with OpenTelemetry; send OTLP to Alloy or a collector; sample sensibly
- TraceQL finds spans by attributes, duration and structure
- Exemplars, trace-to-logs and Pyroscope profiles connect the evidence
- Alloy: one collector for metrics, logs, traces and profiles
- Components wired by exports; UI on :12345
- Agent (EOL Nov 2025) and Promtail (EOL Mar 2026): migrate with alloy convert
- k8s-monitoring Helm chart for Kubernetes
Lessons
1. Grafana Alerting: rules, contact points and notification policies
Build alerts in Grafana: Grafana-managed and data source-managed rules, queries and expressions, evaluation groups and pending periods, labels, contact points, notification policies, silences and time intervals.
Sign in to open the lesson
2. Traces and profiles: Tempo, TraceQL, exemplars and Pyroscope
Instrument services with OpenTelemetry, store traces in Tempo, query them with TraceQL, link metrics, logs and traces, derive metrics from spans, and find hot code with Pyroscope.
Sign in to open the lesson
3. Collecting telemetry with Grafana Alloy and OpenTelemetry
Use Grafana Alloy, Grafana's distribution of the OpenTelemetry Collector, to collect metrics, logs, traces and profiles; write its configuration; migrate from Grafana Agent and Promtail; and monitor Kubernetes with one chart.
Sign in to open the lesson
4. Observability as code: provisioning, Terraform, Git Sync and SDKs
Manage dashboards, data sources, folders and alerts as code with file provisioning, the Terraform Grafana provider, Git Sync and the dashboard API, and generate dashboards with the Foundation SDK or Grafonnet.
Sign in to open the lesson
5. Running Grafana at scale: high availability, Kubernetes, upgrades and managed options
Run Grafana reliably for many teams: high availability with a shared database and clustered alerting, the Helm chart and Grafana Operator on Kubernetes, backups and upgrades, performance, and when to choose Grafana Cloud or a managed service.
Sign in to open the lesson
6. SLOs, incidents and the Grafana capstone
Put it together: SLO dashboards and burn-rate alerts, on-call and incident workflow with Grafana Cloud IRM or your existing tools, annotations and post-incident review, and a capstone observability platform.
Sign in to open the lesson
Common questions
What's the difference between a silence and a mute timing?
A silence is a one-off window for matching alerts; a mute timing is a recurring schedule on a policy.
What's tail sampling?
Deciding which traces to keep after they complete, so you can keep all errors and slow traces.
Which component receives OpenTelemetry data?
otelcol.receiver.otlp.
Where do provisioning files live by default?
/etc/grafana/provisioning/ (datasources, dashboards, alerting, plugins).
What does the image renderer do?
Renders panels to images for alert notifications and reports, usually as a separate service.
Name two open-source SLO rule generators.
Sloth and Pyrra.