vaadin / observability-kit

Other
5 stars 2 forks source link

`http.route` attribute not always set for root spans #111

Closed sissbruecker closed 1 year ago

sissbruecker commented 1 year ago

The http.route attribute is not set on the root span in several cases. This removes a useful attribute for filtering, and is also an issue with Datadog which prefers to display the route instead of the trace / root span name:

Bildschirmfoto 2022-09-13 um 14 15 30

Currently the attribute is set by some nested instrumentations, but not all of them. We should consider moving that logic up to the VaadinService instrumentation.