-
Notifications
You must be signed in to change notification settings - Fork 810
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
refactor(sdk-trace-base): rename activeSpanProcessor
private property
#5211
refactor(sdk-trace-base): rename activeSpanProcessor
private property
#5211
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #5211 +/- ##
==========================================
- Coverage 93.15% 93.14% -0.01%
==========================================
Files 315 315
Lines 8113 8102 -11
Branches 1633 1633
==========================================
- Hits 7558 7547 -11
Misses 555 555
|
@@ -24,6 +24,7 @@ | |||
### :house: (Internal) | |||
|
|||
* chore: remove checks for unsupported node versions [#4341](https://github.com/open-telemetry/opentelemetry-js/pull/4341) @dyladan | |||
* refactor(sdk-trace-base): remove `BasicTracerProvider._registeredSpanProcessors` private property. [#5134](https://github.com/open-telemetry/opentelemetry-js/pull/5177) @david-luna | |||
* refactor(sdk-trace-base): remove `BasicTracerProvider._registeredSpanProcessors` private property. [#5134](https://github.com/open-telemetry/opentelemetry-js/pull/5134) @david-luna |
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.
note for reviewer: the link was incorrect
@@ -69,8 +69,7 @@ export class BasicTracerProvider implements TracerProvider { | |||
private readonly _config: TracerConfig; | |||
private readonly _tracers: Map<string, Tracer> = new Map(); | |||
private readonly _resource: IResource; | |||
|
|||
private activeSpanProcessor: MultiSpanProcessor; | |||
private readonly _activeSpanProcessor: MultiSpanProcessor; |
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.
note for reviewer: also made it readonly
because is not meant to be changed once is set in the constructor
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 for taking care of this 🙌
Which problem is this PR solving?
Closes #5203
Short description of the changes
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
npm run compile
at rootnpm run test
at rootChecklist: