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

Allow Exporter to export a protobuf service request directly #5763

Closed
nduong-ol opened this issue Jul 26, 2024 · 1 comment
Closed

Allow Exporter to export a protobuf service request directly #5763

nduong-ol opened this issue Jul 26, 2024 · 1 comment
Labels
enhancement New feature or request pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package

Comments

@nduong-ol
Copy link

Package

OpenTelemetry.Exporter.OpenTelemetryProtocol

Is your feature request related to a problem?

Hi, I'm having a use case where I would need to proxy OpenTelemetry service requests through our dotnet server while enriching their metadata. To do so I would be to be able to export directly the protobuf service request that I received from client application exporter. The current Exporter of OpenTelemetry SDK doesn't support this behavior.

Would I develop this feature and make a PR to this repo?

What is the expected behavior?

OpenTelemetry Exporter can export directly protobuf service requests

Which alternative solutions or features have you considered?

The alternative would be implement a opentelemetry transmission handler similar to the one implemented by the SDK to export message as grpc or http client

Additional context

No response

@nduong-ol nduong-ol added the enhancement New feature or request label Jul 26, 2024
@github-actions github-actions bot added the pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package label Jul 26, 2024
@martinjt
Copy link
Member

martinjt commented Oct 4, 2024

If what you're building is a proxy service to take inbound Protobuf ExportServiceRequest objects amend them, then send them back out, then the otel SDK is not the right place for that.

You're essentially building a gRPC/http proxy, so you should send them using a gRPC service/http client. This is a lot simpler than involving the otel exporters.

Take a look at this example.

https://github.com/martinjt/dotnet-otel-proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package
Projects
None yet
Development

No branches or pull requests

3 participants