I usually recommend looking at `process_resident_memory_bytes / prometheus_tsdb_head_series`.
The current typical use is around 8KiB per series, mainly due to the indexing of series. On Wed, Nov 23, 2022 at 2:14 AM Julio Leal <[email protected]> wrote: > Hi everyone > I'm trying understand and create an end of life of my prometheus instance. > I think that my promethes will die as my number of timeseries increases > and I need more memory ram. > How can I create a correlation between my timeseries growth and my memory > ram growth? > > I already try to use: > > 1. container_memory_working_set_bytes with prometheus_tsdb_head_series > 2. go_memstats_alloc_bytes with prometheus_tsdb_head_series > 3. go_memstats_heap_inuse_bytes with prometheus_tsdb_head_series > 4. process_resident_memory_bytes with prometheus_tsdb_head_series > > > The combination closest that I can was number 3 that I can a correlation > of 0.56 > > Is there another way to create this correlation between Memory Ram and > timeseries to mensure end of life or the growth of the prometheus instance? > > -- > 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/f84d34ab-9c82-45b1-855d-9081e9d46cedn%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/f84d34ab-9c82-45b1-855d-9081e9d46cedn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CABbyFmogmzj8ffh%3DsLQn8fVzCYsAO%2Bbvz6G-9qm%3DWO%2B2nCXQBA%40mail.gmail.com.

