-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mutating of trace state #108
Conversation
trace_context/HTTP_HEADER_FORMAT.md
Outdated
|
||
## Base mutations | ||
|
||
Library or platform receiving `traceparent` request header MUST send it to outgoing requests. It MAY mutate the value of this header before passing to outgoing requests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why MAY mutate instead of SHOULD?
+
+Library or platform receiving `traceparent` request header MUST send it to outgoing requests. It MAY mutate the value of this header before passing to outgoing requests.
guess this is for pass-through propagation? If so, this example should be
noted I guess.
|
Yes, MAY was for the pass-thru. I was thinking to make it more radical and suggest that if Anybody knows real life scenarios when pass-thru for |
Posted an update. @adriancole @yurishkuro appreciate feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer to separate the players into pass-through only and participating. The former must not mutate. The later must mutate the parent.
The reason MAY bothers me is that it leaves the standard vague. A node can be screwing the overall trace and still be compliant.
@yurishkuro I added this paragraph. Is it what you think needed?
|
@adriancole I'd appreciate sign off as I can only merge after one contributor approval. |
@SergeyKanzhelev done 👍 |
#93