open-telemetry / opentelemetry-swift

OpenTelemetry API for Swift
https://opentelemetry.io/docs/instrumentation/swift/
Apache License 2.0
209 stars 129 forks source link

OtlpHTTPExporter HTTP/JSON support? #465

Closed jhoongo closed 9 months ago

jhoongo commented 11 months ago

Not sure if I'm missing something here, but it looks like OtlpHttpExporter is serializing the data as the protocol buffer binary format.

Is there any plan to support HTTP/JSON requests for the OTLP HTTP Exporter?

bryce-b commented 10 months ago

Yes, the http exporter is intended to be using protobuf. There is currently an active PR working on an otlp json exporter (#480)