Skip to content

fix(observability): support none OTLP compression - #1574

Merged
willkill07 merged 1 commit into
NVIDIA:release/0.11from
krishicks:fix/otel-compression-none
Oct 29, 2026
Merged

willkill07 merged 1 commit into
NVIDIA:release/0.11from
krishicks:fix/otel-compression-none

Conversation

@krishicks

@krishicks krishicks commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Overview

Automatic OTLP exporters skip activation when OTEL_EXPORTER_OTLP_COMPRESSION=none or a signal-specific compression variable is set to none, even though the OTLP exporter specification defines that value as disabled compression.

Update the OpenTelemetry dependency family to 0.33.1, which includes upstream support for this value and preserves signal-specific precedence.

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

Details

  • Update the six OpenTelemetry dependencies and lockfile to 0.33.1.
  • Regenerate Rust attributions and document none as a supported compression value.
  • Update the SDK-version expectations in two existing tests.

Validation:

  • just test-rust with ambient OTEL_* variables cleared: 6,519 passed, 4 skipped.
  • cargo check --locked -p nemo-relay --lib.
  • cargo fmt --all -- --check.
  • Repository copyright, TOML, and Rust attribution hooks.

Where should the reviewer start?

Cargo.toml and Cargo.lock. Compression parsing is handled by the updated dependency; this change adds no Relay-specific parsing or new tests.

Related Issues

Relates to open-telemetry/opentelemetry-rust#3730.

Summary by CodeRabbit

  • New Features
    • OTLP compression configuration now supports none alongside gzip and zstd.
    • OpenTelemetry integrations have been updated to the 0.33 series.
  • Documentation
    • Updated observability guidance to reflect the supported compression options and current OpenTelemetry version.

@krishicks
krishicks requested review from a team as code owners October 29, 2026 19:34
@github-actions github-actions Bot added size:S PR is small Bug issue describes bug; PR fixes bug lang:rust PR changes/introduces Rust code labels Oct 29, 2026
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Files ignored due to path filters: 1
  • Cargo.lock is excluded by !**/*.lock
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 8d0296a and 595c67a.

Files ignored due to path filters: 1
  • Cargo.lock is excluded by !**/*.lock

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 92c581c and 8d0296a.

Files ignored due to path filters: 1
  • Cargo.lock is excluded by !**/*.lock
Files selected for processing: 5
  • ATTRIBUTIONS-Rust.md
  • Cargo.toml
  • crates/core/tests/unit/observability/otel_metrics_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • docs/configure-plugins/observability/opentelemetry.mdx

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Recent review details
Context from checks skipped due to timeout: 3
  • GitHub Check: Prepare
  • GitHub Check: Detect docs changes
  • GitHub Check: request / require-nvskills-ci / require-nvskills-ci
Additional context used
Code guidelines: 8
RELEASING.md — auto-discovered
.agents/skills/update-project-version/SKILL.md — configured
.agents/skills/contribute-docs/SKILL.md — configured
.agents/skills/contribute-integration/SKILL.md — configured
.agents/skills/maintain-observability/SKILL.md — configured
CONTRIBUTING.md — configured
.agents/skills/maintain-packaging/SKILL.md — configured
.agents/skills/review-doc-style/SKILL.md — configured
Path-based instructions: 12
Review documentation for technical accuracy against the current API, command correctness, and consistency across language bindings.

CodeRabbit configuration file

Files:

  • docs/configure-plugins/observability/opentelemetry.mdx
Tests should cover the behavior promised by the changed API surface, including error paths and cross-request isolation where relevant.

CodeRabbit configuration file

Files:

  • crates/core/tests/unit/observability/otel_metrics_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
Review the Rust runtime for async correctness, scope isolation, middleware ordering, and event lifecycle regressions.

CodeRabbit configuration file

Files:

  • crates/core/tests/unit/observability/otel_metrics_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
Applicability reference: AGENTS.md: # NeMo Relay Repository Guidance Keep release-process policy in maintainer sources such as `RELEASING.md` and Source excerpt: The root `Cargo.toml` `workspace.package.version` is the can...

CodeRabbit inference engine (RELEASING.md)

Files:

  • Cargo.toml
Source excerpt: `Cargo.toml` `[workspace.package].version` is the Rust source of truth.

CodeRabbit inference engine (.agents/skills/update-project-version/SKILL.md)

Files:

  • Cargo.toml
Source excerpt: In MDX files, top-of-file comments must use JSX comment delimiters: `{/*` to open and `*/}` to close.

CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Files:

  • docs/configure-plugins/observability/opentelemetry.mdx
Source excerpt: [ ] Integration pattern follows `docs/integrate-into-frameworks/adding-scopes.mdx` Source excerpt: Keep NeMo Relay optional Source excerpt: Use stable, documented framework or plugin APIs Source excerpt: Wrap tool and LLM pa...

CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

Files:

  • docs/configure-plugins/observability/opentelemetry.mdx
  • crates/core/tests/unit/observability/otel_metrics_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • Cargo.toml
  • ATTRIBUTIONS-Rust.md
Source excerpt: [ ] Do examples and docs use each exporter's documented flush/deregister order before shutdown?

CodeRabbit inference engine (.agents/skills/maintain-observability/SKILL.md)

Files:

  • docs/configure-plugins/observability/opentelemetry.mdx
Applicability reference: AGENTS.md: # NeMo Relay Repository Guidance See `CONTRIBUTING.md` and `docs/contribute/testing-and-docs.mdx` for contributor details, and `.agents/skills/README.md` for the maintainer skill boundary.

CodeRabbit inference engine (CONTRIBUTING.md)

Files:

  • docs/configure-plugins/observability/opentelemetry.mdx
  • Cargo.toml
Source excerpt: Rust `Cargo.toml` package names and workspace metadata

CodeRabbit inference engine (.agents/skills/maintain-packaging/SKILL.md)

Files:

  • Cargo.toml
Source excerpt: Verify MDX files use JSX delimiters for top-of-file SPDX comments.

CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

Files:

  • docs/configure-plugins/observability/opentelemetry.mdx
Source excerpt: Docs under `docs/about-nemo-relay/concepts/subscribers.mdx` and `docs/configure-plugins/observability/`

CodeRabbit inference engine (.agents/skills/maintain-observability/SKILL.md)

Files:

  • docs/configure-plugins/observability/opentelemetry.mdx
Additional comments: 5
Cargo.toml: 1

124-129: LGTM!

crates/core/tests/unit/observability/otel_metrics_tests.rs: 1

1691-1691: LGTM!

crates/core/tests/unit/observability/otel_tests.rs: 1

5670-5670: LGTM!

ATTRIBUTIONS-Rust.md: 1

33000-33000: LGTM!

Also applies to: 33081-33081, 33162-33162, 33243-33243, 33452-33452, 33533-33533

docs/configure-plugins/observability/opentelemetry.mdx: 1

101-101: LGTM!

Also applies to: 219-219, 1068-1068, 1148-1148

Walkthrough

The workspace OpenTelemetry dependencies move to version 0.33 or 0.33.1. SDK version assertions, attribution entries, and observability documentation are updated. The documentation adds none to the listed generic OTLP compression options.

Changes

OpenTelemetry Update

Layer / File(s) Summary
Update dependency versions and assertions
Cargo.toml, crates/core/tests/unit/observability/otel_metrics_tests.rs, crates/core/tests/unit/observability/otel_tests.rs, ATTRIBUTIONS-Rust.md
The workspace OpenTelemetry dependency versions and SDK version assertions are updated. Attribution entries reflect the new package versions.
Update observability documentation
docs/configure-plugins/observability/opentelemetry.mdx
The documented generic OTLP compression options include none, gzip, and zstd. SDK version references change from 0.32 to 0.33.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Merge Risk: Minimal · previous review 8d029

No concrete current-head correctness, security, availability, or data-integrity risk remains.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title uses the allowed type "fix" with the scope "observability" in lowercase, and it is 49 characters with no trailing period. It describes the main change: the OTLP exporters now accept the valu…
Description check Passed The description follows the template: it has an Overview with both checklist items marked, a Details section, a 'Where should the reviewer start?' section, and a Related Issues section. It explains th…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title uses the allowed type "fix" with the scope "observability" in lowercase, and it is 49 characters with no trailing period. It describes the main change: the OTLP exporters now accept the value none for compression. The PR updates the OpenTelemetry dependencies to 0.33.1 to get that upstream behavior, and it also updates docs, attributions, and test expectations, so the title matches the core intent.

Full details: Description check

Explanation

The description follows the template: it has an Overview with both checklist items marked, a Details section, a 'Where should the reviewer start?' section, and a Related Issues section. It explains the problem (none compression is skipped for automatic OTLP exporters), the dependency fix, and the validation run. One gap: the Related Issues entry uses 'Relates to' and does not name a closing issue. The template's Closes/Fixes/Resolves keyword list is only a choice of wording, so this gap is minor.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files. (3 skipped: 3 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

License Diff

Compared against origin/release/0.11.

Lockfile license changes

Lockfile License Changes

Rust

Added

  • None

Removed

  • None

Updated/Changed

opentelemetry

Before:

  • opentelemetry 0.32.0 (Apache-2.0)

After:

  • opentelemetry 0.33.1 (Apache-2.0)

opentelemetry-http

Before:

  • opentelemetry-http 0.32.0 (Apache-2.0)

After:

  • opentelemetry-http 0.33.1 (Apache-2.0)

opentelemetry-otlp

Before:

  • opentelemetry-otlp 0.32.0 (Apache-2.0)

After:

  • opentelemetry-otlp 0.33.1 (Apache-2.0)

opentelemetry-proto

Before:

  • opentelemetry-proto 0.32.0 (Apache-2.0)

After:

  • opentelemetry-proto 0.33.1 (Apache-2.0)

opentelemetry-semantic-conventions

Before:

  • opentelemetry-semantic-conventions 0.32.1 (Apache-2.0)

After:

  • opentelemetry-semantic-conventions 0.33.1 (Apache-2.0)

opentelemetry_sdk

Before:

  • opentelemetry_sdk 0.32.1 (Apache-2.0)

After:

  • opentelemetry_sdk 0.33.1 (Apache-2.0)

Node

Added

  • None

Removed

  • None

Updated/Changed

  • None

Python

Added

  • None

Removed

  • None

Updated/Changed

  • None
Status output
[license-diff] selected languages: rust, node, python
[license-diff] generating current inventory
[license-diff] current: generating Rust inventory
[license-diff] current: Rust inventory complete (489 packages)
[license-diff] current: generating Node inventory
[license-diff] current: Node inventory complete (424 packages)
[license-diff] current: generating Python inventory
[license-diff] current: Python inventory complete (158 packages)
[license-diff] current inventory complete
[license-diff] checking out base ref origin/release/0.11 into a temporary worktree
[license-diff] base: generating Rust inventory
[license-diff] base: Rust inventory complete (489 packages)
[license-diff] base: generating Node inventory
[license-diff] base: Node inventory complete (424 packages)
[license-diff] base: generating Python inventory
[license-diff] base: Python inventory complete (158 packages)
[license-diff] base inventory complete
[license-diff] removing temporary base worktree
[license-diff] comparing inventories
[license-diff] rendering Markdown output
[license-diff] done

@github-actions

Copy link
Copy Markdown

@willkill07

Copy link
Copy Markdown
Member

@krishicks could you retarget for release/0.11 and rebase?

The OTLP exporter specification defines none as disabled compression, but
the 0.32 exporter rejects it and skips automatic exporter activation.

Upgrade the OpenTelemetry dependency family to 0.33.1 to pick up upstream
support for none, including signal-specific compression precedence. Update
the SDK-version expectations, documentation, and Rust attributions.

Signed-off-by: Kris Hicks <[email protected]>
@krishicks
krishicks force-pushed the fix/otel-compression-none branch from 8d0296a to 595c67a Compare October 29, 2026 20:35
@krishicks
krishicks changed the base branch from main to release/0.11 October 29, 2026 20:35
@willkill07 willkill07 self-assigned this Oct 29, 2026
@willkill07 willkill07 added this to the 0.11 milestone Oct 29, 2026

@willkill07 willkill07 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.

Approving dep bump

@willkill07

Copy link
Copy Markdown
Member

@krishicks thanks for the fix! Approved and will merge once CI is 🟢

@willkill07
willkill07 merged commit 8b1bfdd into NVIDIA:release/0.11 Oct 29, 2026
32 of 33 checks passed
@krishicks
krishicks deleted the fix/otel-compression-none branch October 29, 2026 21:15
nv-nedelman-1 added a commit to nv-nedelman-1/mlflow-nemo-relay that referenced this pull request Nov 25, 2026
0.11.1 added support for OTEL_EXPORTER_OTLP_COMPRESSION=none
(NVIDIA/NeMo-Relay#1574), which the OpenShell agent trace relay sets in
every sandbox process; 0.11.0 fails to start with it. 0.11.2 introduces
additional bug fixes.

- agent/pyproject.toml: nemo-relay[langgraph]==0.11.2 in all 8 demos
- agent/uv.lock: regenerated with `uv lock --upgrade-package nemo-relay`;
  only nemo-relay changes
- README component tables and REL-14 in docs/product-gaps.md name the new
  pin; the validated-versions table still records 0.11.0

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Nicholas Edelman <[email protected]>

This branch was previously deployed

1 inactive deployment
fern — 595c67a9 Deployed Oct 29, 2026 by willkill07 via Clean up docs preview #6803
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug issue describes bug; PR fixes bug lang:rust PR changes/introduces Rust code size:S PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants