pub fn record_http(route: &str, status: u16, dur: Duration)Expand description
Record one HTTP request against http.server.request.duration.
route should be the low-cardinality matched path (e.g. /items/{id}),
never the raw URI, to keep metric label cardinality bounded.