@@ -18,7 +18,7 @@ use std::fs::File;
1818use std:: io:: { BufReader , Write } ;
1919use std:: sync:: OnceLock ;
2020use std:: time:: Duration ;
21- use tracing:: { debug, error} ;
21+ use tracing:: { debug, error, trace } ;
2222use zstd:: stream:: write:: Encoder ;
2323use zstd:: zstd_safe:: CompressionLevel ;
2424
@@ -173,7 +173,7 @@ impl DdApi {
173173 let url = format ! ( "{}/api/v2/series" , & self . metrics_intake_url_prefix) ;
174174 let safe_body = serde_json:: to_vec ( & series)
175175 . map_err ( |e| ShippingError :: Payload ( format ! ( "Failed to serialize series: {e}" ) ) ) ?;
176- debug ! ( "Sending body: {:?}" , & series) ;
176+ trace ! ( "Sending body: {:?}" , & series) ;
177177 self . ship_data ( url, safe_body, "application/json" ) . await
178178 }
179179
@@ -185,7 +185,7 @@ impl DdApi {
185185 let safe_body = sketches
186186 . write_to_bytes ( )
187187 . map_err ( |e| ShippingError :: Payload ( format ! ( "Failed to serialize series: {e}" ) ) ) ?;
188- debug ! ( "Sending distributions: {:?}" , & sketches) ;
188+ trace ! ( "Sending distributions: {:?}" , & sketches) ;
189189 self . ship_data ( url, safe_body, "application/x-protobuf" )
190190 . await
191191 // TODO maybe go to coded output stream if we incrementally
0 commit comments