Skip to content

Commit

Permalink
Merge branch '2/edge' into yellow
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcocenza committed Nov 27, 2024
2 parents e52dc5d + e225961 commit b8d7518
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/alert_rules/prometheus/prometheus_alerts.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
"groups":
- "name": "opensearch.alerts"
"rules":

- "alert": "OpenSearchScrapeFailed"
"annotations":
"message": "Scrape on {{ $labels.juju_unit }} failed. Ensure that the OpenSearch systemd service is healthy and that the unit is part of the cluster."
"summary": "OpenSearch exporter scrape failed"
"expr": |
up < 1
"for": "5m"
"labels":
"severity": "critical"

- "alert": "OpenSearchClusterRed"
"annotations":
"message": "Cluster {{ $labels.cluster }} health status has been RED for at least 2m. Cluster does not accept writes, shards may be missing or master node hasn't been elected yet."
Expand Down

0 comments on commit b8d7518

Please sign in to comment.