Interview Prep/Monitoring & Observability/Cardinality Control & Cost

What is series churn and why is it expensive?

AdvancedProductionCardinality Control & Cost
Answer

Churn is series being created and abandoned quickly, e.g. a pod label on workloads that redeploy many times a day, or autoscaling batch jobs. Each new series costs head memory and index entries, and old series stay in blocks until retention expires. Measure:

rate(prometheus_tsdb_head_series_created_total[1h])

Reduce it by aggregating away pod/instance in recording rules for long-term storage, dropping the raw series from remote_write, and not putting deploy-specific values (version, image) on high-volume metrics unless needed.

All Monitoring & Observability questions

More on Cardinality Control & Cost