-
-
Notifications
You must be signed in to change notification settings - Fork 69
Ruler Alerts
Lorenzo Mangani edited this page Dec 23, 2021
·
20 revisions
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.
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}