open-telemetry / opentelemetry-js

OpenTelemetry JavaScript Client
https://opentelemetry.io
Apache License 2.0
2.76k stars 810 forks source link

feat(sdk-trace-base)!: remove `addSpanProcessor` API #5152

Closed david-luna closed 1 week ago

david-luna commented 1 week ago

Which problem is this PR solving?

Removes addSpanProcessor API from TracerProvider classes. After https://github.com/open-telemetry/opentelemetry-js/pull/5138 is merged into next branch

Ref: https://github.com/open-telemetry/opentelemetry-js/issues/4792

Short description of the changes

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Checklist: