Skip to content

Fixes telemetry via http#191

Merged
rubberduck203 merged 1 commit intoGusto:mainfrom
rubberduck203:cmac/fix-telemetry
Mar 18, 2025
Merged

Fixes telemetry via http#191
rubberduck203 merged 1 commit intoGusto:mainfrom
rubberduck203:cmac/fix-telemetry

Conversation

@rubberduck203
Copy link
Copy Markdown
Contributor

Between opentelemetry-otlp v0.15 and 0.16 a breaking change landed.

So when we upgraded to 0.27 (#186),
we inadvertantly broke people using SCOPE_OTEL_PROTOCOL=http. It did not affect people using grpc.

To maintain consistency with grpc (and compatibility with version prior to PR #186), we append v1/traces to the SCOPE_OTEL_ENDPOINT when the protocol is set to http.

Between opentelemetry-otlp v0.15 and 0.16 a breaking change landed.
- https://github.com/pitoniak32/opentelemetry-rust/blob/main/opentelemetry-otlp/CHANGELOG.md#v0160
- open-telemetry/opentelemetry-rust#1706

So when we upgraded to 0.27 (#186),
we inadvertantly broke people using `SCOPE_OTEL_PROTOCOL=http`.
It did not affect people using `grpc`.

To maintain consistency with grpc (and compatibility with version prior to PR #186),
we append `v1/traces` to the `SCOPE_OTEL_ENDPOINT`.
@rubberduck203 rubberduck203 merged commit 848ff7f into Gusto:main Mar 18, 2025
13 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