Skip to content

Commit

Permalink
- remove nodes count alert
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcocenza committed Dec 11, 2024
1 parent 4ca2e61 commit f249fa6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/alert_rules/prometheus/prometheus_alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,6 @@
"labels":
"severity": "alert"

- "alert": "OpenSearchFewNodes"
"annotations":
"message": "Cluster {{ $labels.cluster }} has less nodes than expected. It's recommend to have at least 3 nodes for high availability."
"summary": "Few OpenSearch nodes on cluster"
"expr": |
sum by (cluster) (opensearch_cluster_nodes_number) / count by (cluster) (opensearch_cluster_nodes_number) < 3
"for": "5m"
"labels":
"severity": "warning"

- "alert": "OpenSearchThrottling"
"annotations":
"message": "Cluster {{ $labels.cluster }} is throttling. Please optimize queries and indexing patterns or consider scale the application."
Expand Down

0 comments on commit f249fa6

Please sign in to comment.