Metrics & Observability
pgbalancer exposes a Prometheus-compatible metrics endpoint at /metrics
by default.
- Pool stats: active clients, waiting clients, backend usage
- Backend health: up/down, lag, errors
- Query stats: throughput, errors, latency
Integrate with Prometheus and Grafana for dashboards and alerting.