IT lexicon › Infra & Ops › Cardinality explosion

Cardinality explosion

Infra & Ops På svenska → Updated: 2026-11-14

An uncontrolled growth in the number of unique values within a metric's tags—from thousands to millions in hours.

If you tag every request with the user's IP address, you rapidly generate millions of unique tag combinations. A time-series database tries to keep these in memory; when it runs out, the system crashes. The classic mistake is thinking "more dimensions equals better observability"—usually it means "higher costs and slower queries."

Cardinality explosions often come from instrumenting with unbounded values: session UUIDs, timestamps, request IDs, shopping cart contents. These must be caught at the source, at the instrumentation point, not cleaned up retrospectively.

← Back to the lexicon