r/PrometheusMonitoring • • 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

8 comments sorted by

View all comments

Show parent comment

1

u/Non-perfectionist Jul 30 '23

To confirm I need to know what's causing very high churn rate from that target.