IsAllDataRequested false when deploy not localhost #3308
Unanswered
psavoldelli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a strange issue with httpclient instrumentation.
Small app overview where I try distributed tracing.
App 1 and App 2 are .NET6 Web api with aspnetcore instrumentation and http client instrumentation.
In localhost have not any issues.
When I deploy this stack on K8S, all the http outbound call made by App 1 or App 2 are not exported.
After dinging a little, it appears that this code line always set IsAllDataRequested to false.
as a workaround, I created a new DelegatingHandler like this;
Then, my outbound child span is well created, and my http call headers are correctly set with traceparent and tracestate.
I don't understand why. Is this something we've seen before?
Beta Was this translation helpful? Give feedback.
All reactions