-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add trace attributes to the log entry #3018
Add trace attributes to the log entry #3018
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3018 +/- ##
==========================================
+ Coverage 91.59% 91.61% +0.01%
==========================================
Files 486 486
Lines 23515 23528 +13
==========================================
+ Hits 21539 21554 +15
+ Misses 1469 1464 -5
- Partials 507 510 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
c88e040
to
1b91040
Compare
@alexvanboxel Looks like we duplicated some work (#3017). The new test is great though. If mine is not merged by the time you circle back to this, then feel free to borrow any changes and I'll close mine. |
I merged #3017 |
Thanks Tigran. @alexvanboxel Will you please rebase so we can pick up the new test? |
1b91040
to
4b227ba
Compare
4b227ba
to
6a4c914
Compare
@djaglowski all green. I had to re-push though (without some code change) to get the build green. It seems we have some flaky tests. |
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.
LGTM
Please resolve the merge conflict. |
43f0495
to
bad405f
Compare
Rebased and green, I'll have a look at pushing down the fixed size TraceId and SpanId to the log-collector |
bad405f
to
b3e0f21
Compare
JSON log parsers are now able to extract the OpenTelemetry compliant trace_id, span_id and trace_flags attributes and add them to the correct attributes.
b3e0f21
to
59b4737
Compare
@tigrannajaryan is the explanation enough? Can I merge? |
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.
Thanks @alexvanboxel
JSON log parsers are now able to extract the OpenTelemetry compliant trace_id, span_id and trace_flags attributes and add them to the correct attributes.
Description:
Add trace, span, and flag attributes to the log entry.
Testing:
Added tests for trace, span, and flags