GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Lazily evaluate ExceptionEventData exception.* attributes by jack-berg · Pull Request #7172 · open-telemetry/opentelemetry-java Conversation
Member
Currently, we compute With this PR, those attributes are computed lazily at the time of export. This should shift CPU / memory from hot path to export background threads.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
jack-berg
commented
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @HaloFour I believe this should be a (temporary) workaround to the changes in #6795. To restore the behavior you were relying on, you should be able to:
I'd like to followup with this PRs change with:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #7172 +/- ## ============================================ + Coverage 89.92% 89.94% +0.01% - Complexity 6721 6728 +7 ============================================ Files 765 766 +1 Lines 20277 20305 +28 Branches 1985 1988 +3 ============================================ + Hits 18234 18263 +29 - Misses 1448 1449 +1 + Partials 595 593 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…y-java into lazy-evaluate-exception
|
is there a connection or overlap between this PR and #7182? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
They solve separate problems but there will be merge conflicts I'll need to resolve regardless of which is merged first |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sounds good I'll review this one second |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…y-java into lazy-evaluate-exception
Should be good to go now that #7182 is merged |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| // - exception.type | ||
| // - exception.message | ||
| // - exception.stacktrace | ||
| return getAdditionalAttributes().size() + 3; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
for users of this method does it matter that there could be overlap and so this calculation could overcount (e.g. a user overriding exception.message)?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Oh great point. Need to think this through a little more
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
should we move this to a Draft until you're ready to get this figured out?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.