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

What are the practical limits of a single Prometheus server?

IntermediateProductionScaling Prometheus, Long-Term Storage & HA
Answer

It scales vertically only. As a rough guide, a well-sized server handles a few million active series and a few hundred thousand samples per second; memory is the usual limit (roughly a few KB per active series including overhead). Local retention is typically 15 days to a few weeks. There is no built-in replication or global query. Beyond that you shard, federate, or move to a horizontally scalable backend.

prometheus_tsdb_head_series
rate(prometheus_tsdb_head_samples_appended_total[5m])
All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Scaling Prometheus, Long-Term Storage & HA