otelhttp.NewHandler adds backpropagation #2163
Labels
area: instrumentation
Related to an instrumentation package
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Projects
This code makes a "backpropagation" by adding the propagation headers to the HTTP response.
opentelemetry-go-contrib/instrumentation/net/http/otelhttp/wrap.go
Line 94 in 8cf7954
I feel that it is not right as it is a leakage of the internals.
I am not aware of any other OTel instrumentation (in whatever language/ecosystem) that adds "backpropagation".
I think that it should not work that way by default. Additionally, such an option should first be described in the spec. I understand that such a feature may be useful for implementing "Real User Monitoring".
The text was updated successfully, but these errors were encountered: