Interview Prep/Monitoring & Observability/Prometheus storage, memory and cardinality

Thanos Query shows duplicated series from HA Prometheus pairs

IntermediateTroubleshootingPrometheus storage, memory and cardinality
Answer

Likely causes → The replica label name passed to Querier does not match the external label used by Prometheus.

Diagnose → Query the metric and look for two series differing only by prometheus_replica (or replica).

Fix → Start Querier with --query.replica-label=prometheus_replica (match exactly) and keep dedup enabled in the UI.

Prevent → Standardise external label names across clusters.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Prometheus storage, memory and cardinality