https://signoz.io logo
#general
Title
# general
m

Mac Wynkoop

09/11/2023, 4:36 PM
Meaning encoding the REST OTLP packets as protobuf fields ain't happening
p

Pranay

09/11/2023, 4:40 PM
@Srikanth Chekuri are there any possible solutions on this can be done?
s

Srikanth Chekuri

09/11/2023, 4:59 PM
@Mac Wynkoop 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?
m

Mac Wynkoop

09/11/2023, 5:06 PM
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.
s

Srikanth Chekuri

09/11/2023, 5:10 PM
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 https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http?
m

Mac Wynkoop

11/03/2023, 7:12 PM
Hey @Srikanth Chekuri I am picking this effort back up, to get an OTLP exporter in my Google Apps Script. Currently trying to transpile the npm package in with Webpack.