You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose: add limits to prom memory usage to prevent OOMs
Reasoning behind Prometheus command query flags:
--query.max-samples: each Prometheus data sample is 16 bytes.
16B * 31250000 = 1/2 GB.
--query.max-concurrency: the max # of concurrent queries (default is 20).
these parameters are intended to limit the amount of memory Prometheus
uses for its queries to ~1GB, because it's sensitive to OOMs.
0 commit comments