TLDR Mac and Srikanth discussed challenges and possible solutions for encoding OpenTelemetry Protocol (OTLP) data correctly. An OTLP exporter was suggested to Mac.
Srikanth are there any possible solutions on this can be done?
Mac the encoding of the data and sending it is taken care by _exporter._ Are you using any OTLP http exporter or are you trying to write your own exporter?
It's an extremely basic OTLP exporter that yes, I implemented in the Google Apps Script. I was trying to initially just send the data over in normal JSON formatting, not realizing it had to be protobuf-encoded JSON data. So I'm currently just having it console.log(spanpayload) to the Google Stackdriver logging system. It kind of shows the same data, just not really OTLP-compliant.
> I was trying to initially just send the data over in normal JSON formatting, not realizing it had to be protobuf-encoded JSON data
Just want to make sure I understand it, by `protobuf-encoded` JSON data, you mean the JSON payload that is OTLP compliant right? Have you looked at
Mac
Mon, 11 Sep 2023 16:36:57 UTCMeaning encoding the REST OTLP packets as protobuf fields ain't happening