Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes telemetry via http #191

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

rubberduck203
Copy link
Collaborator

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 (oscope-dev#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 oscope-dev#186),
we append `v1/traces` to the `SCOPE_OTEL_ENDPOINT`.
@rubberduck203 rubberduck203 merged commit 848ff7f into oscope-dev: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