On 05/08/2020 09:37, Liu Chang wrote:
[prometheus]# ./bin/prometheus --version
prometheus, version 2.19.2
./bin/prometheus --config.file=./conf/prometheus.yml
--web.listen-address="0.0.0.0:8089" --storage.tsdb.retention.size=200GB
*Killed process 203738 (prometheus) total-vm:241826816kB,
anon-rss:185585992kB, file-rss:0kB
*
We have a lot of metrics(> 10000) and a lots of instances (> 1000),how
to optimize prometheus memory usage?Thanks~
To reduce memory usage you would need to reduce the number of time
series being scraped. This is often done by sharding - different
Prometheus servers for different groups of targets or different
applications.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/f03d472a-2fd7-5c8f-63ad-06bc01506e7c%40Jahingo.com.