Skip to content

Record processed spans before export complete and reject on shutdown - #8735

Merged
jack-berg merged 1 commit into
open-telemetry:mainfrom
anuraaga:span-processor-beforeexport
Aug 20, 2026
Merged

Record processed spans before export complete and reject on shutdown#8735
jack-berg merged 1 commit into
open-telemetry:mainfrom
anuraaga:span-processor-beforeexport

Conversation

@anuraaga

Copy link
Copy Markdown
Contributor

Same as #8698 for spans

Fixes #8680

@anuraaga
anuraaga requested a review from a team as a code owner August 20, 2026 04:18
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Aug 20, 2026

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-08-20 21:34 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 Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.28%. Comparing base (0ae8f33) to head (2802234).

Files with missing lines Patch % Lines
...ace/export/LegacySpanProcessorInstrumentation.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8735   +/-   ##
=========================================
  Coverage     91.27%   91.28%           
+ Complexity    10471    10470    -1     
=========================================
  Files          1006     1006           
  Lines         28276    28274    -2     
  Branches       3568     3569    +1     
=========================================
+ Hits          25808    25809    +1     
+ Misses         1675     1674    -1     
+ Partials        793      791    -2     

☔ 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.

@jack-berg jack-berg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the followup!

@jack-berg
jack-berg merged commit b421aed into open-telemetry:main Aug 20, 2026
32 checks passed
@otelbot

otelbot Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution @anuraaga! 🎉 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.

Fix batch / simple processor instrumentation semantics

2 participants