Below the API

Metrics

BasicModule5 topics~4h 5m
completed

Topics, in order

About this module

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.

#LessonThe question it answers
01Metric Types and the Data ModelWhat is a time series, and what are counters, gauges and histograms?
02Instrumenting a Go ServiceWhat do I measure in a service, and how is it exposed?
03PromQL EssentialsHow do I turn raw counters into rates, ratios and percentiles?
04HistogramsHow are percentiles estimated, and how wrong can they be?
05CardinalityWhy 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.

↑↓ navigate ↵ open