Skip to content

do not use MultiSpanProcessor for single processors#4043

Open
Hailios wants to merge 1 commit intoopen-telemetry:mainfrom
Hailios:do_not_use_multispan_for_single_processor
Open

do not use MultiSpanProcessor for single processors#4043
Hailios wants to merge 1 commit intoopen-telemetry:mainfrom
Hailios:do_not_use_multispan_for_single_processor

Conversation

@Hailios
Copy link
Copy Markdown
Contributor

@Hailios Hailios commented May 2, 2026

Fixes # (issue)

Changes

do not wrap single processors in a multi span processor. that is, use it when needed, otherwise not. idea here is to save execution time by not needlessly going through the multi span processor.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@Hailios Hailios requested a review from a team as a code owner May 2, 2026 20:55
@codecov
Copy link
Copy Markdown

codecov Bot commented May 2, 2026

Codecov Report

❌ Patch coverage is 55.00000% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.53%. Comparing base (0668d64) to head (00e2150).

Files with missing lines Patch % Lines
sdk/src/trace/tracer_context.cc 55.00% 9 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4043      +/-   ##
==========================================
- Coverage   82.04%   81.53%   -0.50%     
==========================================
  Files         385      385              
  Lines       15895    15909      +14     
==========================================
- Hits        13039    12970      -69     
- Misses       2856     2939      +83     
Files with missing lines Coverage Δ
...k/include/opentelemetry/sdk/trace/tracer_context.h 100.00% <ø> (ø)
sdk/src/trace/tracer_context.cc 77.50% <55.00%> (-7.11%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Hailios Hailios force-pushed the do_not_use_multispan_for_single_processor branch from 58faa51 to 00e2150 Compare May 3, 2026 06:21
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.

1 participant