Constant opentelemetry_semantic_conventions::trace::HTTP_ROUTE
source · pub const HTTP_ROUTE: Key;
Expand description
The matched route (path template in the format used by the respective server framework). See note below.
'http.route' MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it.
Examples
/users/:userID?
{controller}/{action}/{id?}