Skip to content

Forward-merge release/0.8 into main - #894

Merged
GPUtester merged 1 commit into
mainfrom
release/0.8
Aug 25, 2026
Merged

Forward-merge release/0.8 into main#894
GPUtester merged 1 commit into
mainfrom
release/0.8

Conversation

@rapids-bot

@rapids-bot rapids-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

Forward-merge triggered by push to release/0.8 that creates a PR to keep main up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge. See forward-merger docs for more info.

#### Overview

Expose OTLP trace and log batch-queue drops through direct subscriber runtime diagnostics after a successful force flush, while retaining final shutdown accounting.

- [x] I confirm this contribution is my own work, or I have the right to submit it under this project's license.
- [x] I searched existing issues and open pull requests, and this does not duplicate existing work.

#### Details

- Record only newly observed queue-drop deltas after successful trace and log force flushes, keeping diagnostic counts cumulative through shutdown.
- Preserve direct flush behavior and plugin-only teardown errors.
- Add Rust and Python regressions and update Rust, Python, Node.js, Go, and OTLP documentation.

#### Where should the reviewer start?

Start with `DiagnosticBatchSpanProcessor` and `DiagnosticBatchLogProcessor`, which now advance the reported cumulative drop total after a successful flush.

#### Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

- Relates to: none


## Summary by CodeRabbit

- **New Features**
  - Added an API for retrieving runtime diagnostics as JSON.
  - Successful `force_flush()` calls now update diagnostics with observed dropped spans and log events.

- **Bug Fixes**
  - Drop counts are reported cumulatively across repeated flushes and shutdown.
  - Concurrent queue drops are tracked accurately without duplicate or missed reporting.
  - Diagnostics continue to include the affected collector endpoint.

- **Documentation**
  - Clarified runtime diagnostic behavior across supported language APIs.

- **Tests**
  - Added coverage for cumulative reporting, queue overflow, flushing, shutdown, and endpoint details.

Authors:
  - Will Killian (https://github.com/willkill07)

Approvers:
  - Maryam Najafian (https://github.com/mnajafian-nv)

URL: #891
@rapids-bot
rapids-bot Bot requested review from a team as code owners August 25, 2026 15:11
@GPUtester
GPUtester merged commit ec685db into main Aug 25, 2026
1 check passed
@rapids-bot

rapids-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown
Author

SUCCESS - forward-merge complete.

@github-actions github-actions Bot added size:M PR is medium lang:go PR changes/introduces Go code lang:js PR changes/introduces Javascript/Typescript code lang:python PR changes/introduces Python code lang:rust PR changes/introduces Rust code labels Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:go PR changes/introduces Go code lang:js PR changes/introduces Javascript/Typescript code lang:python PR changes/introduces Python code lang:rust PR changes/introduces Rust code size:M PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants