Skip to content

Commit

Permalink
Add new alert rules for throttling (#509)
Browse files Browse the repository at this point in the history
- If OpenSearch is throttling, this is an alert that optimizations are
necessary like scaling the number of nodes or changing queries and
indexing patterns
  • Loading branch information
gabrielcocenza authored Dec 12, 2024
1 parent 453fb0e commit 4416292
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/alert_rules/prometheus/prometheus_alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,13 @@
"for": "1m"
"labels":
"severity": "alert"

- "alert": "OpenSearchThrottling"
"annotations":
"message": "Cluster {{ $labels.cluster }} is throttling. Please optimize queries and indexing patterns or consider scale the application."
"summary": "OpenSearch Indexing Throttle"
"expr": |
sum by (cluster) (opensearch_indices_indexing_is_throttled_bool) > 0
"for": "5m"
"labels":
"severity": "warning"

0 comments on commit 4416292

Please sign in to comment.