Skip to main content

metrics_handler

Function metrics_handler 

Source
pub async fn metrics_handler(__arg0: State<AppState>) -> Response<Body>
Expand description

Prometheus scrape endpoint (GET /__edgeguard/metrics). Like health/ready, it is a dedicated route outside the proxy fallback, so it is not subject to auth or rate limits — restrict access to /__edgeguard/* at the network layer if that matters in your setup.