How do you estimate the monthly cost of a new metric before it ships?
IntermediateProductionCardinality Control & Cost
Answer
Multiply label cardinalities: values(label1) × values(label2) × ... × buckets × replicas (pods). Multiply by the per-series price (vendor) or by memory per series (self-hosted). Example: 8 buckets + 2 × 30 routes × 4 codes × 60 pods = 72,000 series; at a vendor rate of a few dollars per 1,000 series per month, that is a real line item. Make this estimate part of the instrumentation review.
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