Grokking DevOps and SRE Interviews
0% completed
Prometheus and Metric Cardinality
A developer at the grocery company wants to see which customers receive checkout errors, so they add a customer_id label to checkout's request counter. Before the change, the counter had 60 series: 12 pods times 5 status codes.
Prometheus, the open-source metrics system that the company runs, stores a separate series for every combination of label values that it sees. About 200,000 customers check out each month, and each one's requests reach about 5 combinations of pod and status, so within a month the label creates about one million series
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%