Skip to content
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

Rename EventEmitter and related classes to EventLogger #6316

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

jack-berg
Copy link
Member

Resolves #6290.

Part of the goal of bundling several breaking changes into a single release to reduce churn.

cc @breedx-splk

@jack-berg jack-berg requested a review from a team March 21, 2024 19:26
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

Attention: Patch coverage is 93.54839% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 91.05%. Comparing base (7926c45) to head (42cc36b).
Report is 1 commits behind head on main.

Files Patch % Lines
...pi/incubator/events/GlobalEventLoggerProvider.java 90.00% 0 Missing and 1 partial ⚠️
...etry/sdk/logs/internal/SdkEventLoggerProvider.java 87.50% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6316      +/-   ##
============================================
+ Coverage     91.04%   91.05%   +0.01%     
- Complexity     5726     5728       +2     
============================================
  Files           625      625              
  Lines         16744    16744              
  Branches       1713     1713              
============================================
+ Hits          15244    15247       +3     
+ Misses         1006     1003       -3     
  Partials        494      494              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big thanks for running with this, I didn't realize you were going to pick this up. ❤️ We're on our way!

instrumentationScopeName ->
EventLoggerProvider.noop().eventLoggerBuilder(instrumentationScopeName)))
.isInstanceOf(IllegalStateException.class)
.hasMessageContaining("GlobalEventLoggerProvider.set has already been called")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@jack-berg
Copy link
Member Author

I didn't realize you were going to pick this up.

I've already made all these changes on local branches at one point or another 😛. Just a matter of breaking stuff out into manageable / self contained PRs.

@jack-berg jack-berg merged commit 13ea334 into open-telemetry:main Mar 26, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename EventEmitter to EventLogger
2 participants