Replies: 1 comment
-
We're (Xmidt, RDK) going forward with Option 1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To support OpenTelemetry to the CPE, we need to add the propagation to the WRP messages & we have a few options.
References:
Option 1 - Add to headers
Add the B3 or W3C headers to the WRP headers. It would look a bit like this:
B3
W3C
With this approach no changes are needed to WRP & if you really wanted to you could even send down both at once.
The costs are the various WRP libraries won't help you much, but you do get access to your data.
Option 2 - Add to structure
The structure could also be flattened, but it's nice to see these are associated with tracing.
Commentary
Originally I was in favor of Option 2, but I'm more in favor of Option 1 since it's pretty simple, WRP largely doesn't care (the tracing will end up being sent in a separate message), and it makes use of the
header
field that has yet to have a good reason to exist.While the consumer needs to deal with http style headers ... that seems like a fine trade-off to me.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions