-
Notifications
You must be signed in to change notification settings - Fork 831
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
Low allocation OTLP logs marshaler #6429
Low allocation OTLP logs marshaler #6429
Conversation
cc @laurit |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6429 +/- ##
============================================
- Coverage 90.85% 90.84% -0.02%
- Complexity 6028 6080 +52
============================================
Files 651 660 +9
Lines 17729 17928 +199
Branches 1777 1787 +10
============================================
+ Hits 16107 16286 +179
- Misses 1105 1118 +13
- Partials 517 524 +7 ☔ View full report in Codecov by Sentry. |
byte[] bytes = new byte[value.remaining()]; | ||
value.get(bytes); |
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.
In the future, if needed, we could probably get rid of allocating a new byte array here.
Continuation of #6410, #6422