Skip to content

Commit

Permalink
Updated IO page and dashboards review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy8801 committed Sep 18, 2023
1 parent 52256bd commit c7b7d82
Show file tree
Hide file tree
Showing 16 changed files with 107 additions and 124 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Name of the alert
name: State Down(%)
name: Image Status

# Description and details
description: |+
This alert is triggered when state is down for 5 minutes.
This alert is triggered when the image status is inactive for 5 minutes.
# Type of alert
type: STATIC

# NRQL query
nrql:

query: "SELECT average(`memoryFreeBytes`/`memoryTotalBytes`*100) FROM SystemSample facet entityName"
query: "SELECT count(*)FROM OSImageSample where openstack.glance.image.status != 'active'"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE
Expand All @@ -19,22 +19,13 @@ valueFunction: SINGLE_VALUE
terms:
- priority: CRITICAL
# Operator used to compare against the threshold.
operator: BELOW
operator: ABOVE
# Value that triggers a violation
threshold: 72
threshold: 1
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
- priority: WARNING
# Operator used to compare against the threshold.
operator: BELOW
# Value that triggers a violation
threshold: 75
# Time in seconds; 120 - 3600, must be a multiple of 60 for Baseline conditions
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])
Expand Down
2 changes: 1 addition & 1 deletion alert-policies/openstack-controller/MemoryUsage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Memory Usage Percent

# Description and details
description: |+
This alert is triggered if the memory usage exceeds 90% for 5 minutes.
This alert is triggered when the memory usage exceeds 90% for 5 minutes
# Type of alert
type: STATIC

Expand Down
13 changes: 2 additions & 11 deletions alert-policies/openstack-controller/ServerFreeMemoryLow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Server Free Memory Low(%)

# Description and details
description: |+
This alert is triggered when server free memory is less than 72% for 5 minutes.
This alert is triggered when server free memory is less than 90% for 5 minutes.
# Type of alert
type: STATIC

Expand All @@ -21,20 +21,11 @@ terms:
# Operator used to compare against the threshold.
operator: BELOW
# Value that triggers a violation
threshold: 72
threshold: 90
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
- priority: WARNING
# Operator used to compare against the threshold.
operator: BELOW
# Value that triggers a violation
threshold: 75
# Time in seconds; 120 - 3600, must be a multiple of 60 for Baseline conditions
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])
Expand Down
Loading

0 comments on commit c7b7d82

Please sign in to comment.