[prometheus-developers] Re: Correlation between memory used and timeseries

2022-11-28 Thread Bryan Boreham
You may be interested in this talk I gave at PromCon recently, showing some detail around where the memory is used: https://youtu.be/vc5LgoiP_CA Bryan On Friday, 25 November 2022 at 12:13:10 UTC l.mi...@gmail.com wrote: > This: > go_memstats_alloc_bytes / prometheus_tsdb_head_series > > gives

[prometheus-developers] Re: Correlation between memory used and timeseries

2022-11-25 Thread l.mi...@gmail.com
This: go_memstats_alloc_bytes / prometheus_tsdb_head_series gives you bytes per time series. This number is the base of my capacity planning. It depends on how many labels end up on your metrics but usually it's fairly stable. We usually see around 3-4KB per time series. If you have read_read