Skip to main content
APA
Sponsored by CAST AI — Kubernetes cost optimization Better Stack — Uptime monitoring and log management
⚠️

Alert thresholds depend on the nature of your applications. Some queries may have arbitrary tolerance thresholds. Building an efficient monitoring platform takes time. 😉

Meilisearch Prometheus Alert Rules

2 Prometheus alerting rules for Meilisearch. Exported via Embedded exporter. These rules cover critical and warning conditions — copy and paste the YAML into your Prometheus configuration.

2.12. Embedded exporter (2 rules)

wget https://raw.githubusercontent.com/samber/awesome-prometheus-alerts/refs/heads/master/dist/rules/meilisearch/embedded-exporter.yml
warning

2.12.1. Meilisearch index is empty

Meilisearch index {{ $labels.index }} has zero documents

- alert: MeilisearchIndexIsEmpty
  expr: meilisearch_index_docs_count == 0
  for: 0m
  labels:
    severity: warning
  annotations:
    summary: Meilisearch index is empty (instance {{ $labels.instance }})
    description: "Meilisearch index {{ $labels.index }} has zero documents\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"
warning

2.12.2. Meilisearch http response time

Meilisearch http response time is too high

- alert: MeilisearchHttpResponseTime
  expr: meilisearch_http_response_time_seconds > 0.5
  for: 0m
  labels:
    severity: warning
  annotations:
    summary: Meilisearch http response time (instance {{ $labels.instance }})
    description: "Meilisearch http response time is too high\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"