Skip to content

Bump rotel to v0.2.4 - #95

Merged
mheffner merged 1 commit into
mainfrom
re/bump-rotel-0.2.4
Aug 3, 2026
Merged

Bump rotel to v0.2.4#95
mheffner merged 1 commit into
mainfrom
re/bump-rotel-0.2.4

Conversation

@mheffner

@mheffner mheffner commented Aug 3, 2026

Copy link
Copy Markdown
Member

Updates the pinned rotel dependency from v0.2.2 to v0.2.4.

Why the OpenTelemetry bumps came along

rotel v0.2.4 moved to the crates.io opentelemetry-proto 0.32 release. Keeping the git pin (rev = "0948c61", 0.31) left two incompatible copies of the crate in the dependency graph, so TelemetryAPI::new failed to compile with two different ResourceLogs types. Switching to opentelemetry-proto = "0.32.0" and opentelemetry-semantic-conventions = "0.32.1" matches what rotel resolves to.

Code change

KeyValue gained a key_strindex: i32 field in proto 0.32 — a string-table reference used exclusively by the profiling signal — so otel_string_attr sets it to 0.

Testing

cargo nextest run → 26 tests run, 26 passed, 0 skipped.

rotel v0.2.4 switched to the crates.io opentelemetry-proto 0.32 release, so
the git pin here had to move with it: keeping rev 0948c61 (0.31) left two
incompatible ResourceLogs types in the dependency graph. Align
opentelemetry-semantic-conventions to 0.32.1 for the same reason.

KeyValue gained a key_strindex field in proto 0.32 (a string-table reference
used only by the profiling signal), so set it to 0 in otel_string_attr.
@mheffner
mheffner merged commit 429cc88 into main Aug 3, 2026
4 checks passed
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.

1 participant