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

Stat sinks: Allow OpenTelemetry sink to export via HTTP #37826

Open
joaopgrassi opened this issue Dec 27, 2024 · 1 comment
Open

Stat sinks: Allow OpenTelemetry sink to export via HTTP #37826

joaopgrassi opened this issue Dec 27, 2024 · 1 comment
Labels
area/http area/opentelemetry area/stats enhancement Feature requests. Not bugs or questions.

Comments

@joaopgrassi
Copy link
Contributor

Title: Allow OpenTelemetry sink to export via HTTP

Description:
Similar to what was done for tracing, the stat sink for OpenTelemetry today only allow exporting via gRPC. This limits users to require either a back-end that handles OTLP/gRPC or deploy a OTel collector to do the conversion from gRPC to HTTP.

It would be nice if the stat sink could be configured to export via HTTP, allowing it to directly export to a back-end that supports OTLP/HTTP.

The sink is helpful, for example in troubleshooting to see if spans are being exported or not.

[optional Relevant Links:]

  • HTTP should be the default one, according to the OTel spec

SDKs SHOULD support both grpc and http/protobuf transports and MUST support at least one of them. If they support only one, it SHOULD be http/protobuf. They also MAY support http/json.

open-telemetry/opentelemetry-java-instrumentation#10206

@joaopgrassi joaopgrassi added enhancement Feature requests. Not bugs or questions. triage Issue requires triage labels Dec 27, 2024
@phlax phlax added area/stats area/opentelemetry area/http and removed triage Issue requires triage labels Dec 29, 2024
@phlax
Copy link
Member

phlax commented Dec 29, 2024

cc @AlexanderEllis @yanavlasov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/http area/opentelemetry area/stats enhancement Feature requests. Not bugs or questions.
Projects
None yet
Development

No branches or pull requests

2 participants