Skip to content

Commit

Permalink
Update HighModelInvocationErrors.yml
Browse files Browse the repository at this point in the history
I was using count in a summary metric. Modified to sum to show the actual value of the metric. 
Before it was showing the number of times the event was aggregated. Ref here: https://docs.newrelic.com/docs/data-apis/understand-data/metric-data/metric-data-type/
  • Loading branch information
csalvador-nr authored Oct 27, 2023
1 parent d1f9b2d commit 356e7d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alert-policies/amazon-sagemaker/HighModelInvocationErrors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |+
type: STATIC
nrql:
query: "SELECT count(`aws.sagemaker.InvocationModelErrors`) as 'Query' FROM Metric"
query: "SELECT sum(`aws.sagemaker.InvocationModelErrors`) as 'Query' FROM Metric"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE
Expand All @@ -24,4 +24,4 @@ terms:

# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 86400
violationTimeLimitSeconds: 86400

0 comments on commit 356e7d1

Please sign in to comment.