dd-trace-go icon indicating copy to clipboard operation
dd-trace-go copied to clipboard

httptrace.TraceAndServe should set span.kind and component tags

Open darccio opened this issue 8 months ago • 0 comments

Currently the net/http contrib has different wrappers that are inconsistent regarding span.kind and component tags, as ones add these tags and others don't, leading to third-parties like Orchestrion and contribs to miss these tags in their spans.

httptrace.TraceAndServe should be able to set these tags, including customization from callers through ServeConfig.

darccio avatar Oct 10 '23 15:10 darccio