-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Adds a custom MarshalJSON method for trace.Link #1852
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1852 +/- ##
=======================================
+ Coverage 78.6% 78.8% +0.1%
=======================================
Files 137 137
Lines 7298 7307 +9
=======================================
+ Hits 5737 5758 +21
+ Misses 1316 1304 -12
Partials 245 245
|
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.
Should we just not embed the SpanContext
in a Link
? Instead make it a field?
Then it will be another issue. I wonder if I should make the change in this PR. |
I would get the opinion of another approver/maintainer before restarting. |
That would also work. I don't have any context for why As I was reviewing #1846 I was wondering whether the |
I see I didn't look closely enough at the issue #1846 was addressing and this topic is discussed there. Added some thoughts: #1845 (comment). |
Closing as the decision outlined in #1845 (comment) is to remove the |
@IrisTuntun we realized that we cannot remove the link and we should instead go with the un-embed solution: #1845 (comment) Is this something you would like to open a PR for? |
Sure, I can take this. Will open a PR for it. |
Adds a custom MarshalJSON method for
trace.Link
to marshal all fields.Should resolve #1820