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

[Feature Request] OpenTelemetry Metrics OLTP/HTTP support #647

Open
slingshotvfx opened this issue Sep 23, 2024 · 2 comments
Open

[Feature Request] OpenTelemetry Metrics OLTP/HTTP support #647

slingshotvfx opened this issue Sep 23, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@slingshotvfx
Copy link

slingshotvfx commented Sep 23, 2024

Is your feature request related to a problem? Please describe.

Right now the Python SDK (and possibly other Core SDKs?) only support OLTP over gRPC, but some services (like Pydantic Logfire) require OLTP over HTTPS

When trying to export metrics to these services today, I receive the following error:

OpenTelemetry metrics error occurred. Metrics exporter otlp failed with the grpc server returns error (Internal error): , detailed error message: protocol error: received message with invalid compression flag: 60 (valid flags are 0 and 1) while receiving response with status: 403 Forbidden

Describe the solution you'd like

Support for exporting OTel Metrics to services via OLTP/HTTP.

Additional context

This would bring the Python SDK up to parity with the Go SDK and possibly others which do support HTTP.

@cretz
Copy link
Member

cretz commented Sep 23, 2024

That is unfortunate that such a platform doesn't support such a common OTLP approach. This is implemented in our Rust Core layer, so I have opened an issue over there to support HTTP: temporalio/sdk-core#820. Once updated there we will apply here (may just be an http=True type of option on the OTel config).

@samuelcolvin
Copy link

Sorry temporal, we'll try to get grpc added as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants