Skip to content

Commit

Permalink
Merge pull request #2319 from newrelic/release
Browse files Browse the repository at this point in the history
Release 3/14/23
  • Loading branch information
brammerl authored Mar 14, 2024
2 parents 32aa5f3 + 3ef2871 commit 9c2a1c1
Show file tree
Hide file tree
Showing 26 changed files with 991 additions and 143 deletions.
28 changes: 28 additions & 0 deletions alert-policies/aws-storage-gateway/AvailabilityNotifications.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Availability notifications

description: |+
This alert is triggered if the there are availability-related health notifications generated by the gateway
type: STATIC
nrql:
query: "SELECT count(aws.storagegateway.AvailabilityNotification) as 'AvailabilityNotificationCount' 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: 1
# 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
37 changes: 37 additions & 0 deletions alert-policies/aws-storage-gateway/CachePercentDirty.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Cache Percent Dirty

description: |+
This alert is triggered if overall percentage of the gateway cache that has not been persisted to AWS is more.
type: STATIC
nrql:
query: "SELECT average(aws.storagegateway.CachePercentDirty) as 'CachePercentDirty' 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: 80
# Time in seconds; 120 - 3600
thresholdDuration: 600
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
- priority: WARNING
# Operator used to compare against the threshold.
operator: ABOVE
# Value that triggers a violation
threshold: 60
# 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
28 changes: 28 additions & 0 deletions alert-policies/aws-storage-gateway/HealthNotifications.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Health notifications

description: |+
This alert is triggered if the number of the number of health notifications sent by the volume are high.
type: STATIC
nrql:
query: "SELECT count(aws.storagegateway.HealthNotifications) as 'HealthNotificationsCount' 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: 1
# 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9c2a1c1

Please sign in to comment.