Skip to content

Ruler Alerts

Lorenzo Mangani edited this page Dec 23, 2021 · 20 revisions

cLoki Ruler / Alert Manager

cLoki implements an alertmanager compatible API to support Grafana Advanced Alerting

The ruler API uses the concept of a "namespace" when creating rule groups. This is a stand-in for the name of the rule file in Prometheus. Rule groups must be named uniquely within a namespace.

API Endpoints

The following endpoints are exposed by the cLoki ruler:

GET /api/prom/rules
GET /api/prom/rules/{namespace}
GET /api/prom/rules/{namespace}/{groupName}
POST /api/prom/rules/{namespace}
DELETE /api/prom/rules/{namespace}/{groupName}
DELETE /api/prom/rules/{namespace}
Clone this wiki locally