servers::metrics

Function http_metrics_layer

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

A middleware to record metrics for HTTP.