Constant opentelemetry_semantic_conventions::trace::HTTP_ROUTE
source · pub const HTTP_ROUTE: &str = "http.route";
Expand description
The matched route (path template in the format used by the respective server framework). See note below.
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. SHOULD include the application root if there is one.
§Examples
/users/:userID?
{controller}/{action}/{id?}