We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 587c341 commit d460bdaCopy full SHA for d460bda
opentelemetry-otlp/src/exporter/http/trace.rs
@@ -82,7 +82,7 @@ fn build_body(spans: Vec<SpanData>) -> TraceResult<(Vec<u8>, &'static str)> {
82
buf = req.encode_to_vec();
83
ctype = "application/x-protobuf";
84
}
85
- #[cfg(all(feature = "http-json", not(feature = "http=proto")))]{
+ #[cfg(all(feature = "http-json", not(feature = "http-proto")))]{
86
let json_struct = serde_json::to_string_pretty(&req).unwrap();
87
buf = json_struct.into();
88
ctype = "application/json";
0 commit comments