GnoseedGnoseed
Observability · Flashcard

Which instrument should record request latency?

Why this is the answer

Latency is a distribution, and a Histogram records each measurement into buckets (plus sum and count) so a backend can compute p50/p99 and SLO error rates. A Gauge keeps one value and loses everything else, a Counter's sum gives only a mean that hides tail latency, and an UpDownCounter is for quantities that rise and fall as a total, like active requests.

Read more in the docs
Study in Gnoseed →