Prometheus RAM help

hi everyone,
i’m using prometheus version 2.19 and i want to know how i can see my RAM usage in wall and chunk

Prometheus doesn’t really track memory that way.

If by chunk, you mean memory used by TSDB data, there is no real memory use for this. Prometheus uses mmap to automatically cache old data in memory. More retention in Pormetheus doesn’t use more memory.

The most important thing to look at how much memory is needed is to examine prometheus_tsdb_head_series. This is the amount of series currently being tracked before being written to disk.