Hi everyone! I'm doing a study about how much time we have in our prometheus instances. First of all, I thought that prometheus memory grew because number timeseries ingested. I thought like this because timeseries stay in memory to recover informations more faster. But I got timeseries from last 3 months and I found that my timeseries ingested was grew little, like this graph and in the same time, I needed to increase the memory ram and CPU of the our instances sometimes.
[image: Screen Shot 2022-11-20 at 7.20.07 PM.png] After that I used query log to get queries on prometheus server and I got execTotalTime and timestamp and got amount queries in between two dates (10 minutes, 5 minutes, 1 hour). I also got sum and average of the queries spend time between of the same dates, like this graph: [image: Screen Shot 2022-11-20 at 7.43.52 PM.png] With that I discovered that my record rules did my amount queries stay almost the same. I isolated queries of the record rules from web view the difference. [image: Screen Shot 2022-11-20 at 7.45.15 PM.png] When I did this, the amount of metrics changed, but the memory usage doesn't kept up with growth of the queries. My question here is. What can I consider to mensure memory and/or CPU usage growth on prometheus server? Timeseries, queries or another factor that I am not considering? Thank you! -- 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/b7e0be98-0507-4faf-99f9-1fab7995bccbn%40googlegroups.com.

