File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ groups :
2
+ - name : elasticsearch
3
+ rules :
4
+ - record : elasticsearch_filesystem_data_used_percent
5
+ expr : 100 * (elasticsearch_filesystem_data_size_bytes - elasticsearch_filesystem_data_free_bytes)
6
+ / elasticsearch_filesystem_data_size_bytes
7
+ - record : elasticsearch_filesystem_data_free_percent
8
+ expr : 100 - elasticsearch_filesystem_data_used_percent
9
+ - alert : ElasticsearchTooFewNodesRunning
10
+ expr : elasticsearch_cluster_health_number_of_nodes < 3
11
+ for : 5m
12
+ labels :
13
+ severity : critical
14
+ annotations :
15
+ description : There are only {{$value}} < 3 ElasticSearch nodes running
16
+ summary : ElasticSearch running on less than 3 nodes
17
+ - alert : ElasticsearchHeapTooHigh
18
+ expr : elasticsearch_jvm_memory_used_bytes{area="heap"} / elasticsearch_jvm_memory_max_bytes{area="heap"}
19
+ > 0.9
20
+ for : 15m
21
+ labels :
22
+ severity : critical
23
+ annotations :
24
+ description : The heap usage is over 90% for 15m
25
+ summary : ElasticSearch node {{$labels.node}} heap usage is high
You can’t perform that action at this time.
0 commit comments