Deploy VictoriaMetrics vmalert as a Prometheus-compatible rule evaluator

domain: docs.victoriametrics.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Write alerting and recording rule groups in standard Prometheus rule-file syntax
  2. Start `vmalert` with `-rule` pointing at your rule file(s), `-datasource.url` pointing at VictoriaMetrics, and `-notifier.url` pointing at Alertmanager
  3. Set `-remoteWrite.url` if you use recording rules, since vmalert persists their results via remote write rather than local storage
  4. Optionally set `-remoteRead.url` to restore alert state on restart
  5. Validate rule syntax with `-dryRun` before deploying
  6. For multi-tenant VictoriaMetrics clusters, run per-tenant vmalert instances or use tenant-scoped datasource/remote-write URLs

Known gotchas

Related routes

Deploy VictoriaMetrics as a Prometheus drop-in and configure vmagent for scraping and remote_write
docs.victoriametrics.com · 5 steps · unrated
Enable exemplars to link Prometheus metrics to OTel traces
opentelemetry.io · 5 steps · unrated
Write PromQL recording rules to pre-aggregate high-cardinality metrics and speed up dashboard queries
prometheus.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans