Skip to main content

metrics_route

Function metrics_route 

Source
pub async fn metrics_route(
    app_state: Data<AppState>,
) -> Result<HttpResponse, ApiError>
Expand description

Handle the /metrics request by returning a Prometheus compatible report.