-
Notifications
You must be signed in to change notification settings - Fork 621
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
Changed the format of traceparent id #941
Changed the format of traceparent id #941
Conversation
What issue is being fixed by this PR, @Thiyagu55 ? |
@ocelotl This is not a bug fix issue. |
Ok, I should rephrase. What is the motivation behind this PR? Why do we want to add this change? Just to be clear, I am by no means rejecting this PR or considering it not necessary, I just want to know the reasons behind it. ✌️ |
@ocelotl The current format is not complaint with the commenter specification. This change fixes it. |
@Thiyagu55 |
|
Nit: Can you use f strings for this |
@srikanthccv |
@lzchen traceparent header is only part of the comment, there can be more info embedded in the comment such as request route. I think it is fine they are separate. |
Changed the format of traceparent id
Compressed the format of traceparent id from
/*span_id=16659691402252420308,trace_flags=1,trace_id=283190570959089573593920162873354610508,trace_state=''*/
to/*traceparent='00-91be8b5a37d16542524ae5ae0907ec5f-543bfa9675358c75-1'*/
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.