From eda71b626b30eaf8c6b5aeb0d73d8f030ce7c782 Mon Sep 17 00:00:00 2001 From: Alessandro Gregori Date: Mon, 1 Jul 2024 15:18:21 +0200 Subject: [PATCH] fix(query): use == instead of = --- dist/rules/meilisearch/embedded-exporter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/rules/meilisearch/embedded-exporter.yml b/dist/rules/meilisearch/embedded-exporter.yml index 86c460f..a16a336 100644 --- a/dist/rules/meilisearch/embedded-exporter.yml +++ b/dist/rules/meilisearch/embedded-exporter.yml @@ -5,7 +5,7 @@ groups: rules: - alert: MeilisearchIndexIsEmpty - expr: meilisearch_index_docs_count{index="$Index"} = 0 + expr: meilisearch_index_docs_count{index="$Index"} == 0 for: 5m labels: severity: warning @@ -20,4 +20,4 @@ groups: severity: warning annotations: summary: the meilisearch server http response time is too high - description: "The meilisearch server http response time is too high at the moment\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" \ No newline at end of file + description: "The meilisearch server http response time is too high at the moment\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"