open-telemetry / opentelemetry-dotnet

The OpenTelemetry .NET Client
https://opentelemetry.io
Apache License 2.0
3.18k stars 753 forks source link

Allow Exporter to export a protobuf service request directly #5763

Open nduong-ol opened 2 months ago

nduong-ol commented 2 months ago

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