Skip to content

Commit

Permalink
Merge pull request #2097 from rahul188/mediatailor
Browse files Browse the repository at this point in the history
[Product Partnerships] Added Amazon MediaTailor Entity
  • Loading branch information
nr-mlosier authored Oct 6, 2023
2 parents 7388421 + 5079147 commit 0fd06c7
Show file tree
Hide file tree
Showing 9 changed files with 850 additions and 0 deletions.
27 changes: 27 additions & 0 deletions alert-policies/aws-elemental-mediatailor/High4xxErrors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: High 4xx Errors

description: |+
This alert is triggered when 4xx errors are above 10 in 10 minutes.
type: STATIC
nrql:
query: "SELECT count(aws.mediatailor.4xxErrorCount) 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

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
# Operator used to compare against the threshold.
operator: ABOVE
# Value that triggers a violation
threshold: 10
# Time in seconds; 120 - 3600
thresholdDuration: 600
# How many data points must be in violation for the duration
thresholdOccurrences: ALL

# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 86400
27 changes: 27 additions & 0 deletions alert-policies/aws-elemental-mediatailor/High5xxErrors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: High 5xx errors

description: |+
This alert is triggered when 5xx errors are above 10 in 10 minutes.
type: STATIC
nrql:
query: "SELECT count(aws.mediatailor.5xxErrorCount) 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

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
# Operator used to compare against the threshold.
operator: ABOVE
# Value that triggers a violation
threshold: 10
# Time in seconds; 120 - 3600
thresholdDuration: 600
# How many data points must be in violation for the duration
thresholdOccurrences: ALL

# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 86400
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: High Ad Decision Server Errors

description: |+
This alert is triggered when Ad Decision Server Errors are above 10 in 10 minutes.
type: STATIC
nrql:
query: "SELECT count(aws.mediatailor.AdDecisionServer.Errors) 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

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
# Operator used to compare against the threshold.
operator: ABOVE
# Value that triggers a violation
threshold: 10
# Time in seconds; 120 - 3600
thresholdDuration: 600
# How many data points must be in violation for the duration
thresholdOccurrences: ALL

# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 86400
27 changes: 27 additions & 0 deletions alert-policies/aws-elemental-mediatailor/HighOriginErrors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: High Origin Errors

description: |+
This alert is triggered when Origin Errors are above 10 in 10 minutes.
type: STATIC
nrql:
query: "SELECT count(aws.mediatailor.Origin.Errors) 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

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
# Operator used to compare against the threshold.
operator: ABOVE
# Value that triggers a violation
threshold: 10
# Time in seconds; 120 - 3600
thresholdDuration: 600
# How many data points must be in violation for the duration
thresholdOccurrences: ALL

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

0 comments on commit 0fd06c7

Please sign in to comment.