Skip to content

Commit

Permalink
Merge pull request #2129 from csalvador-nr/patch-2
Browse files Browse the repository at this point in the history
Fix HighModelInvocationErrors.yml alert condition
  • Loading branch information
zstix authored Oct 31, 2023
2 parents 5b9273a + 6280e6a commit bb5a5bd
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 bb5a5bd

Please sign in to comment.