Skip to content

OtlpHttpExporter responds with proto: illegal wireType 7 #1894

Answered by marcalff
CMThF asked this question in Q&A
Discussion options

You must be logged in to vote

@CMThF

Please double check the exporter options:

OtlpHttpExporterOptions::content_type is by default HttpRequestContentType::kJson,
so it should be changed to HttpRequestContentType::kBinary to send a protobuf message in binary format.

Same for metrics.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@CMThF
Comment options

Comment options

You must be logged in to vote
4 replies
@lalitb
Comment options

@CMThF
Comment options

@CMThF
Comment options

@marcalff
Comment options

Answer selected by CMThF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants