mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
Publish
This commit is contained in:
parent
47e74f65e0
commit
58ade95b8b
1 changed files with 10 additions and 10 deletions
20
dist/rules/meilisearch/embedded-exporter.yml
vendored
20
dist/rules/meilisearch/embedded-exporter.yml
vendored
|
|
@ -5,19 +5,19 @@ groups:
|
||||||
rules:
|
rules:
|
||||||
|
|
||||||
- alert: MeilisearchIndexIsEmpty
|
- alert: MeilisearchIndexIsEmpty
|
||||||
expr: meilisearch_index_docs_count == 0
|
expr: 'meilisearch_index_docs_count == 0'
|
||||||
for: 5m
|
for: 0m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: the index {{ $labels.Index }} is empty
|
summary: Meilisearch index is empty (instance {{ $labels.instance }})
|
||||||
description: "The index {{ $labels.Index }} is empty at the moment, and shouldnt be empty\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "Meilisearch instance is down\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
- alert: MeilisearchHttpResponseTimeIsTooHigh
|
- alert: MeilisearchHttpResponseTime
|
||||||
expr: rate(meilisearch_http_response_time_seconds_sum[5m]) / rate(meilisearch_http_response_time_seconds_count[5m]) > 0.5
|
expr: 'meilisearch_http_response_time_seconds > 0.5'
|
||||||
for: 5m
|
for: 0m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: the meilisearch server http response time is too high
|
summary: Meilisearch http response time (instance {{ $labels.instance }})
|
||||||
description: "The meilisearch server http response time is too high at the moment\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "Meilisearch http response time is too high\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue