Replies: 1 comment 10 replies
-
I think you'll probably need to just grab the first element of the array of header values, or something like that. |
Beta Was this translation helpful? Give feedback.
10 replies
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.
-
Our application handles trace headers from incoming event messages (via a NATS pipeline).
The json for the headers looks like this, where the b3 and traceparent headers are arrays of strings:
To extract them, I have tried doing this
However, the W3C and B3 implementations in java otel reject a List of headers as invalid.
The only impl of a TextMapGetter that works for me is this:
Should I be implementing the TextMapGetter differently?
Beta Was this translation helpful? Give feedback.
All reactions