add new alerts for elasticsearch rules.yml (#411)

This commit adds new Prometheus alert definitions to monitor indexing and query metrics in Elasticsearch clusters. These alerts are essential for detecting performance issues related to indexing and querying activities.
This commit is contained in:
enesyalinkaya 2024-05-06 02:32:00 +03:00 committed by GitHub
parent 5c0963558a
commit 59e6a9165d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1128,6 +1128,26 @@ groups:
description: No new documents for 10 min!
query: 'increase(elasticsearch_indices_indexing_index_total{es_data_node="true"}[10m]) < 1'
severity: warning
- name: Elasticsearch High Indexing Latency
description: "The indexing latency on Elasticsearch cluster is higher than the threshold."
query: "elasticsearch_indices_indexing_index_time_seconds_total / elasticsearch_indices_indexing_index_total > 0.0005"
severity: warning
for: 10m
- name: Elasticsearch High Indexing Rate
description: "The indexing rate on Elasticsearch cluster is higher than the threshold."
query: "elasticsearch_indices_indexing_index_total > 100000"
severity: warning
for: 5m
- name: Elasticsearch High Query Rate
description: "The query rate on Elasticsearch cluster is higher than the threshold."
query: "elasticsearch_indices_search_query_total > 100000"
severity: warning
for: 5m
- name: Elasticsearch High Query Latency
description: "The query latency on Elasticsearch cluster is higher than the threshold."
query: "elasticsearch_indices_search_fetch_time_seconds / elasticsearch_indices_search_fetch_total > 1"
severity: warning
for: 5m
- name: Cassandra
exporters: