Metrics are the cheapest signal and the one every alert is built on. This module builds a metrics library by hand, then uses the real one, then learns to query it without being fooled.
| # | Lesson | The question it answers |
|---|---|---|
| 2.a | Metric Types and the Data Model | What is a time series, and what are counters, gauges and histograms? |
| 2.b | Instrumenting a Go Service | What do I measure in a service, and how is it exposed? |
| 2.c | PromQL Essentials | How do I turn raw counters into rates, ratios and percentiles? |
| 2.d | Histograms | How are percentiles estimated, and how wrong can they be? |
| 2.e | Cardinality | Why did the metrics bill explode, and how do I stop it? |
When you finish you can instrument a service with the RED metrics, expose them, query error ratios and p99 latency in PromQL, and predict how many time series your labels will create.