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

Be able to send OTLP/HTTP+JSON #124

Open
nullren opened this issue Sep 12, 2024 · 2 comments
Open

Be able to send OTLP/HTTP+JSON #124

nullren opened this issue Sep 12, 2024 · 2 comments

Comments

@nullren
Copy link

nullren commented Sep 12, 2024

The OTLP spec has three different ways to send OTLP data: OTLP over gRPC, OTLP over HTTP in binary, and OTLP over HTTP in JSON. It would be useful for otelgen to use any of the three to help exercise endpoints that support any of the three.

@nullren
Copy link
Author

nullren commented Sep 12, 2024

This might be a shortcoming of https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlpmetric since otlpmetrichttp seems to be only via protobuf payloads. That's what's currently used.

@krzko
Copy link
Owner

krzko commented Sep 29, 2024

Hi @nullren , I'll scope it out. At present it it sends over gRPC and HTTP (JSON). Will see what it will take to sendind in HTTP binary format as well.

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

No branches or pull requests

2 participants