-
Hi! With C++, I get the following response:
The response reads like there is an issue with the content format. Like, maybe the proto format is wrong? Or just the error response is not parsed correctly? Url and authentication are okay.
opentelemetry-cpp docs state that it is using http/protobuf:
I am using What am I doing wrong here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Please double check the exporter options:
Same for metrics. |
Beta Was this translation helpful? Give feedback.
@CMThF
Please double check the exporter options:
OtlpHttpExporterOptions::content_type
is by defaultHttpRequestContentType::kJson
,so it should be changed to
HttpRequestContentType::kBinary
to send a protobuf message in binary format.Same for metrics.