Observability & OpenTelemetry
Gauges
A disk alert fires at 100% full, two minutes after the database stopped writing. A gauge held the whole story: the disk had been filling at 3 GB an hour for days.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Observability & OpenTelemetry
- Alerting: alert on symptoms, not causesIntermediate · 5 min
Forty-one pages a week, thirty-one of them for CPU that fixed itself. Alert on what users feel, and let causes live on dashboards.
- CountersBeginner · 5 min
A 'traffic dropped to zero' alert fires after every deploy and clears by itself. The traffic never dropped: the graph is of a counter, and counters start over.
- Histograms and latency percentilesBeginner · 5 min
A dashboard says p99 is 295 ms against a 300 ms SLO, and a release is stopped. The real p99 was about 220 ms. Percentiles from histograms are estimates, and the bucket…
- Labels and cardinalityBeginner · 5 min
One extra label took Prometheus from 3 GB to 11 GB in an hour. Every label value multiplies the number of series, and some labels have no upper limit.
- rateBeginner · 4 min
rate estimates per-second counter change over a window.
- sum byBeginner · 4 min
sum by aggregates series while keeping selected dimensions.