Skip to main content

encode_otlp_json

Function encode_otlp_json 

Source
pub fn encode_otlp_json(req: &ProtoExportTraceServiceRequest) -> Result<Vec<u8>>
Expand description

Serialize the prost OTLP request to the HTTP/JSON wire format (OTLP/JSON spec).