Skip to content

Commit

Permalink
Merge pull request #2438 from newrelic/mlosier/add-back-pr-2390
Browse files Browse the repository at this point in the history
Add back pr 2390
  • Loading branch information
nr-mlosier authored Jun 6, 2024
2 parents 359ee74 + 8717342 commit 69bb8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alert-policies/prometheus-agent/DupMetrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69bb8f2

Please sign in to comment.