HttpClient instrumentation sets span name #2042
Replies: 2 comments 3 replies
-
Wondering if |
Beta Was this translation helpful? Give feedback.
-
This was already discuted back in the day, TLDR having path in the name making span low cardinality since they can contains ids (not easily aggregable by backends) so we prefer to avoid this by only using method.
You can use |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am using the Plugin-Http to export my node traces to Jaeger. When exporting the traces I notice that they are default set to HTTP[method].
Is there a way around to set or configure the naming for the traces that are being exported, Instead of it being HTTP[method] maybe HTTP[method] [pathname}?
opentelemetry-js/packages/opentelemetry-plugin-http/src/http.ts
Line 403 in 24cc9ee
Similar to the issue for Dotnet : open-telemetry/opentelemetry-dotnet#1277
Beta Was this translation helpful? Give feedback.
All reactions