Interview Prep/Monitoring & Observability/Scaling Prometheus, Long-Term Storage & HA

How do you query across Prometheus servers in different regions with low latency?

AdvancedProductionScaling Prometheus, Long-Term Storage & HA
Answer

Keep the query fan-out close to the data. Thanos supports distributed query: a global Querier queries regional Queriers, and with the distributed execution engine aggregation is pushed down to each region so only partial results cross regions. In Mimir/central-store designs, all data is already in one place and you pay latency at write time instead. Either way, put pre-aggregated recording rules behind global dashboards.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Scaling Prometheus, Long-Term Storage & HA