Blog
High-Cardinality Metrics Can Bankrupt Your Observability
One innocent label can turn a cheap metric into millions of time series.
Cardinality Multiplies
Suppose http_requests_total has 8 methods, 20 routes, 5 status groups, 4 regions, and 30 instances. That is already up to 96,000 combinations before retention and replicas enter the bill.
Add user_id or raw request path and the bound disappears. /orders/123 and /orders/124 become different series even though they describe the same route.
Metrics Are For Aggregation
Use bounded labels such as route template, method, status class, region, and known operation type. Normalize dynamic paths before recording them. Never use request IDs, email addresses, exception messages, or arbitrary query parameters as labels.
Need one customer’s story? Put the identifier in structured logs or a trace. Metrics answer “is checkout slower in region A?” Logs and traces answer “what happened to request B?”
Guard The Boundary
Estimate the product of label values during review. Set ingestion limits and alert on active-series growth. Publish a small vocabulary for service, operation, result, and region so every team does not invent a new dimension.
Histograms also multiply by bucket count. Choose buckets around meaningful latency thresholds instead of accepting a large default without looking.
Observability data should reduce uncertainty. A metric nobody can afford to retain does the opposite.