Repository navigation
fix(observability): support none OTLP compression - #1574
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| 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:
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: 
5
-
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
nonefor 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 (
nonecompression 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.
License DiffCompared against Lockfile license changesLockfile License ChangesRustAdded
Removed
Updated/Changed
|
|
@krishicks could you retarget for |
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]>
8d0296a to
595c67a
Compare
|
@krishicks thanks for the fix! Approved and will merge once CI is 🟢 |
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]>
Overview
Automatic OTLP exporters skip activation when
OTEL_EXPORTER_OTLP_COMPRESSION=noneor a signal-specific compression variable is set tonone, 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.
Details
noneas a supported compression value.Validation:
just test-rustwith ambientOTEL_*variables cleared: 6,519 passed, 4 skipped.cargo check --locked -p nemo-relay --lib.cargo fmt --all -- --check.Where should the reviewer start?
Cargo.tomlandCargo.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
nonealongsidegzipandzstd.