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

Explicitly specify grpc OTLP protocol with env var #3384

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Apr 4, 2024

Fixes #3166

Most SDK's OTLP exporters default to gRPC but we should be explicit in case there are exporters that prefer another protocol. We want them to use grpc.

I think Python is an example of a protocol that defaults to Protobuf/JSON over HTTP. Customer report of trouble getting Aspire working because they used HTTP.

Microsoft Reviewers: Open in CodeFlow

@JamesNK JamesNK merged commit 8bcf5d8 into main Apr 4, 2024
8 checks passed
@JamesNK JamesNK deleted the jamesnk/grpc-protocol branch April 4, 2024 14:40
@JamesNK
Copy link
Member Author

JamesNK commented Apr 4, 2024

/backport to release/8.0

Copy link
Contributor

github-actions bot commented Apr 4, 2024

Started backporting to release/8.0: https://github.com/dotnet/aspire/actions/runs/8562623518

@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WithOtlpExporter should set the otel_exporter_otlp_protocol to grpc
3 participants