Skip to main content
APA
Sponsored byCAST AI — Kubernetes cost optimizationBetter Stack — Uptime monitoring and log managementVictoriaMetrics — Fast, open-source time series database and drop-in Prometheus replacement.

Meilisearch logoMeilisearch 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.

⚠️

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

2.13.Meilisearch logoEmbedded exporter(2 rules)

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

2.13.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.13.2.Meilisearch http response time

Meilisearch p95 HTTP response time is {{ $value | humanizeDuration }} on {{ $labels.instance }}

  # 0.5s threshold is a rough default; normal response time depends on your query complexity and dataset size — adjust based on your baseline.
- alert: MeilisearchHttpResponseTime
  expr: 'histogram_quantile(0.95, sum by (le, instance) (rate(meilisearch_http_response_time_seconds_bucket[5m]))) > 0.5'
  for: 0m
  labels:
    severity: warning
  annotations:
    summary: Meilisearch http response time (instance {{ $labels.instance }})
    description: "Meilisearch p95 HTTP response time is {{ $value | humanizeDuration }} on {{ $labels.instance }}\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"

Share your alerting rules

Your production alerts can make this collection better. Share your rule files in one command: only Prometheus rule files and PrometheusRule resources are uploaded, while prometheus.yml, alertmanager.yml and other configurations are skipped, as they often contain credentials.

npx awesome-prometheus-alerts share /etc/prometheus/rules

Add --dry-run to preview what would be sent.