rama::telemetry::opentelemetry::semantic_conventions::trace

Constant HTTP_ROUTE

pub const HTTP_ROUTE: &'static str;
Expand description

The matched route, that is, the path template in the format used by the respective server framework.

§Notes

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?}"