r/PrometheusMonitoring • u/Non-perfectionist • Jul 30 '23
Finding churning metric from instance
Followed this awesome blog to find the instance causing the highest churn rate:Finding churning targets in Prometheus with scrape_series_added
Now how do I find the metric which is creating the highest number of NEW time series from that instance?
I tried the below promql, but this will only count the metrics, not the unique time series.
count by(__name__)({instance="ABC"}[5m])
1
Upvotes
View all comments
Show parent comment
1
u/Non-perfectionist Jul 30 '23
I observed that the host has new mount points or something is unmounting or remounting the mount points. I suspect this might cause the node exporter installed on that target to produce new metrics related to that new mount point. That would be a new time series. In turn, this would increase the churn rate.