Metric Cardinality Explosions: How One Label Took Down Prometheus
Someone added a single label to a counter to make a dashboard a little more useful. A week later the Prometheus server was using 40GB of RAM, queries timed out, and during the next incident the monitoring was down right when we needed it most. The label was user_id, and it had quietly created millions of time series.