bad
expr: elasticsearch_cluster_health_status{color="red"} !=0 or elasticsearch_cluster_health_status{color="yellow"} != 0
for: 1m
labels:
severity: 'warning'
annotations:
summary: 'Mr. Stark, Elasticsearch in cluster {{ $labels.cluster }} doesnt feel so good. Status is {{ $labels.color }}'
description: 'Grafana link https://grafana.example.com/d/FanjP9Lmk/elasticsearch?orgId=1&var-cluster={{ $labels.cluster }}'
изящненько!
Обсуждают сегодня