Skip to content

Commit 69bb8f2

Browse files
authored
Merge pull request #2438 from newrelic/mlosier/add-back-pr-2390
Add back pr 2390
2 parents 359ee74 + 8717342 commit 69bb8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alert-policies/prometheus-agent/DupMetrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: |+
44
This alert is triggered if two or more jobs scraping the same instance in the same cluster.
55
type: STATIC
66
nrql:
7-
query: "FROM Metric select uniqueCount(job) facet instance, cluster_name"
7+
query: "FROM Metric select uniqueCount(job) WHERE metricName LIKE 'prometheus%' facet instance, cluster_name"
88

99
# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
1010
valueFunction: SINGLE_VALUE

0 commit comments

Comments
 (0)