Observability
Cardinality (Metrics)
The number of unique label combinations a metric produces; cost is the product across labels.
Why interviewers ask about it
Never put user IDs, request IDs or raw URLs in metric labels. One unbounded dimension can create billions of series and take down the backend.
This term is part of the free System Design interview preparation module - browse the full glossary for every definition.