servers::metrics

Function http_metrics_layer

Source
pub(crate) async fn http_metrics_layer(
    req: Request,
    next: Next,
) -> impl IntoResponse
Expand description

A middleware to record metrics for HTTP.