mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
Add operator-facing alerting on the health-critical metrics phase 9 emits, completing the "alerting rules" deliverable already listed in the phase-9 task list and Jira story. Provisioned YAML under grafana/provisioning/alerting/ (auto-loaded by the Grafana container; no docker-compose change needed): - rules.yaml: 6 alerts in 3 groups — consensus/ledger health, validator health, job queue. Each is a query(A, 5m rate/quantile by exported_instance) -> reduce(B, last) -> threshold(C) on the Prometheus datasource. - contactpoints.yaml: xrpld-default webhook receiver (local-dev placeholder). - policies.yaml: flat routing to xrpld-default, grouped by alertname + exported_instance. Also adds docker/telemetry/ALERTING.md runbook (per-alert meaning, causes, threshold tuning, how to point alerts at a real receiver) and the design spec. Verified live: Grafana 11.5.2 provisioned all 6 rules with no rule in error health; contact point loaded. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>