pub fn record_route(method: &str, path: &str, status: i16, elapsed_secs: f64)Expand description
Record a completed request in the per-route store.
path must have the query string already stripped. Called automatically by
MetricsLayer; exposed publicly for testing and custom instrumentation.