diff --git a/alert-policies/prometheus-agent/DupMetrics.yml b/alert-policies/prometheus-agent/DupMetrics.yml index cbd754d918..9c814950bd 100644 --- a/alert-policies/prometheus-agent/DupMetrics.yml +++ b/alert-policies/prometheus-agent/DupMetrics.yml @@ -4,7 +4,7 @@ description: |+ This alert is triggered if two or more jobs scraping the same instance in the same cluster. type: STATIC nrql: - query: "FROM Metric select uniqueCount(job) facet instance, cluster_name" + query: "FROM Metric select uniqueCount(job) WHERE metricName LIKE 'prometheus%' facet instance, cluster_name" # Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE) valueFunction: SINGLE_VALUE