Commit 32c2a62b authored by S M Y's avatar S M Y Committed by rjshrjndrn
Browse files

ES length dynaoc length

Showing with 2 additions and 2 deletions
+2 -2
......@@ -11,8 +11,8 @@ groups:
labels:
severity: critical
annotations:
description: There are only {% raw %}{{$value}}{% endraw %} < {{ groups['es'] | length } ElasticSearch nodes running
summary: ElasticSearch running on less than {{ groups['es'] | length } nodes
description: There are only {% raw %}{{$value}}{% endraw %} < {{ groups['es'] | length }} ElasticSearch nodes running
summary: ElasticSearch running on less than {{ groups['es'] | length }} nodes
{% if groups['log-es'] is defined %}
- alert: elasticsearch_too_few_nodes_running
expr: elasticsearch_cluster_health_number_of_nodes{job="log-elasticsearch-exporter"} < {{ groups['log-es'] | length }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment