Closed
Description
Is your feature request related to a problem? Please describe.
Currently the otlphttpexporter only supports exporting data in Binary Protobuf Encoding:
While the otlp spec and the otlp http receiver support both binary protobuf encoding and JSON encoding. It will be nice to be able to export telemetry data in JSON using the otlphttpexporter.
Describe the solution you'd like
Add a config to otlphttpexporter like:
exporters:
otlphttp:
...
encoding: [binary_protobuf | json]
And have the corresponding encoder in otlphttpexporter.
Feel free to mark this as duplicated if there's an existing issue on otlphttpexporter json support.