opentelemetry-java
opentelemetry-java copied to clipboard
Make StandardComponentId constructor public
This prevents the instantiation of Senders outside of the SDK.
Related with https://github.com/open-telemetry/opentelemetry-java/issues/6718
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 90.19%. Comparing base (056837a) to head (17c0adc).
Additional details and impacted files
@@ Coverage Diff @@
## main #7763 +/- ##
=========================================
Coverage 90.18% 90.19%
- Complexity 7196 7197 +1
=========================================
Files 814 814
Lines 21722 21722
Branches 2125 2125
=========================================
+ Hits 19590 19592 +2
+ Misses 1465 1464 -1
+ Partials 667 666 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
This prevents the instantiation of Senders outside of the SDK.
Why?
It's more obvious that having to use the parent class to create its objects: ComponentId.generateLazy()