Skip to content

Commit

Permalink
add new alerts for elasticsearch rules.yml (#411)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
enesyalinkaya authored May 5, 2024
1 parent 5c09635 commit 59e6a91
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions _data/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 59e6a91

Please sign in to comment.