Skip to content

Document how span composites select callbacks - #9079

Merged
jack-berg merged 2 commits into
open-telemetry:mainfrom
noxlys:docs/5924-span-processor-callback-selection
Dec 3, 2026
Merged

jack-berg merged 2 commits into
open-telemetry:mainfrom
noxlys:docs/5924-span-processor-callback-selection

Conversation

@noxlys

@noxlys noxlys commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Related to #5924.

The SDK's span processor composite selects start and end delegates when the composite is created. Document this on the two public predicates so implementers know to return stable values.

:sdk:trace:spotlessCheck, :sdk:trace:compileJava, :sdk:trace:javadoc and git diff --check passed. The optional targeted test suite could not resolve guava-testlib from the offline dependency cache.

Signed-off-by: Junjie Yang <3202137046@qq.com>
@noxlys
noxlys requested a review from a team as a code owner November 30, 2026 03:25
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-12-03 16:26 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.53%. Comparing base (443b5d2) to head (8063c28).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9079      +/-   ##
============================================
+ Coverage     90.45%   90.53%   +0.07%     
- Complexity    11235    11245      +10     
============================================
  Files          1039     1039              
  Lines         30678    30678              
  Branches       4015     4015              
============================================
+ Hits          27749    27773      +24     
+ Misses         1956     1928      -28     
- Partials        973      977       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

@breedx-splk breedx-splk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think this helps, thanks for the addition. I don't think it addresses the larger problem, but it can help to clarify for users implementing these processors. Thanks. 👍🏻

@jack-berg
jack-berg merged commit 6dc3130 into open-telemetry:main Dec 3, 2026
34 checks passed
@otelbot

otelbot Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution @yangjj-iso! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

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.

3 participants