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.
More on Cardinality Control & Cost
What is cardinality and why is it the main cost driver for metrics?BeginnerHow do you find which metrics and labels are driving cardinality?IntermediateWhich labels should never appear on metrics?BeginnerHow do you enforce cardinality limits so one team cannot blow up the shared system?AdvancedHow do you drop or aggregate metrics you do not need?IntermediateHow do histograms affect cardinality, and how do you control it?Intermediate