You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@eugeneRover Thank you for reporting this.
I've reproduced this in the v0.14.0-alpha tag. I also tested this in our latest main and it is fixed now, so this bug won't occur in the next release.
As you correctly linked, the sampling support is under development and refactoring, so the v0.14-0 release was published during this refactoring., and before #949 which solved this problem.
The reason this was not caught in the tests is that our e2e test has coverage for HTTP clients as root span and not as a child. @MrAlias@damemi
Describe the bug
Instrumented net/http client sends Traceparent header without SAMPLED flag
Environment
To Reproduce
Steps to reproduce the behavior:
test_service
) that listens on 8080 and calls another one HTTP service (ping-service
):ping-service
, download this and launch it:./server.py 8081
Its log shows everything allright:
test_service
:ping-service
:Expected behavior
Expected
Traceparent
header with SAMPLED flag set, like this :Additional context
Traceparent with no SAMPLED flag set prevents
ping-service
from tracing (assumingping-service
is also instrumented).Links
@RonFed
https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.14.0-alpha
#953
#868
The text was updated successfully, but these errors were encountered: