fix(query): use == instead of =

This commit is contained in:
Alessandro Gregori 2024-07-01 15:18:21 +02:00
parent bee4c51664
commit eda71b626b

View file

@ -5,7 +5,7 @@ groups:
rules: rules:
- alert: MeilisearchIndexIsEmpty - alert: MeilisearchIndexIsEmpty
expr: meilisearch_index_docs_count{index="$Index"} = 0 expr: meilisearch_index_docs_count{index="$Index"} == 0
for: 5m for: 5m
labels: labels:
severity: warning severity: warning
@ -20,4 +20,4 @@ groups:
severity: warning severity: warning
annotations: annotations:
summary: the meilisearch server http response time is too high 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 }}" description: "The meilisearch server http response time is too high at the moment\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"