Skip to content

Commit

Permalink
Merge pull request #2109 from rahul188/keyspaces
Browse files Browse the repository at this point in the history
[Product Partnerships] Added Amazon Keyspaces Entity
  • Loading branch information
aswanson-nr authored Oct 17, 2023
2 parents 20e3b6c + 652cc93 commit d9be55b
Show file tree
Hide file tree
Showing 8 changed files with 906 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: High Account Provisioned Read Capacity Utilization

description: |+
This alert is triggered when the Account Provisioned Read Capacity Utilization is above 90%.
type: STATIC
nrql:
query: "SELECT average(`aws.cassandra.AccountProvisionedReadCapacityUtilization`) 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: 90
# Time in seconds; 120 - 3600
thresholdDuration: 300
# 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 Account Provisioned Write Capacity Utilization

description: |+
This alert is triggered when the Account Provisioned Write Capacity Utilization is above 90%.
type: STATIC
nrql:
query: "SELECT average(`aws.cassandra.AccountProvisionedWriteCapacityUtilization`) 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: 90
# Time in seconds; 120 - 3600
thresholdDuration: 300
# 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/amazon-keyspaces/HighSystemErrors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: High System Errors

description: |+
This alert is triggered when System Errors are above 10 in 10 minutes.
type: STATIC
nrql:
query: "SELECT count(`aws.cassandra.SystemErrors`) 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/amazon-keyspaces/HighUserErrors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: High User Errors

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

Please sign in to comment.