Skip to content

Add span exporter property to batch span processor #4621

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

Merged
merged 5 commits into from
Jun 6, 2025

Conversation

DylanRussell
Copy link
Contributor

@DylanRussell DylanRussell commented Jun 6, 2025

Description

See #4616 -- someone was relying on accessing the span exporter from the batch span processor, this PR adds a way to do that again

Fixes #4616

Type of change

Please delete options that are not relevant.

  • [ x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Unit test

Does This PR Require a Contrib Repo Change?

  • [x ] No.

Checklist:

  • [ x] Followed the style guidelines of this project
  • [ N/A] Changelogs have been updated
  • [ x] Unit tests have been added
  • [ x] Documentation has been updated

@DylanRussell DylanRussell requested a review from a team as a code owner June 6, 2025 14:40
@xrmx
Copy link
Contributor

xrmx commented Jun 6, 2025

@DylanRussell please add a changelog entry since we are going to backport it to a stable branch

@DylanRussell
Copy link
Contributor Author

Ack added a changelog entry

@xrmx xrmx enabled auto-merge (squash) June 6, 2025 16:06
@xrmx xrmx merged commit 36ac612 into open-telemetry:main Jun 6, 2025
447 of 450 checks passed
xrmx added a commit to xrmx/opentelemetry-python that referenced this pull request Jun 10, 2025
* Add span exporter property to batch span processor

* Add test

* Add changelog

* Update CHANGELOG.md

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
xrmx added a commit that referenced this pull request Jun 10, 2025
* Add span exporter property to batch span processor

* Add test

* Add changelog

* Update CHANGELOG.md

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
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.

Provide a public property to get SpanProcessor's SpanExporter
2 participants