File tree Expand file tree Collapse file tree 4 files changed +1
-4
lines changed
examples/basic-otlp-http/src Expand file tree Collapse file tree 4 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1+ /// To use hyper as the HTTP client - cargo run --features="hyper" --no-default-features
12use once_cell:: sync:: Lazy ;
23use opentelemetry:: {
34 global,
Original file line number Diff line number Diff line change @@ -165,13 +165,11 @@ impl HttpExporterBuilder {
165165 } ,
166166 None => self . exporter_config . timeout ,
167167 } ;
168- println ! ( "build_client: timeout={:?}" , timeout) ;
169168 let http_client = self
170169 . http_config
171170 . client
172171 . take ( )
173172 . ok_or ( crate :: Error :: NoHttpClient ) ?;
174- println ! ( "build_client: http_client={:?}" , http_client) ;
175173 #[ allow( clippy:: mutable_key_type) ] // http headers are not mutated
176174 let mut headers: HashMap < HeaderName , HeaderValue > = self
177175 . http_config
Original file line number Diff line number Diff line change @@ -204,7 +204,6 @@ impl<B: HasExportConfig> WithExportConfig for B {
204204 }
205205
206206 fn with_protocol ( mut self , protocol : Protocol ) -> Self {
207- println ! ( "WithExportConfig::with_protocol" ) ;
208207 self . export_config ( ) . protocol = protocol;
209208 self
210209 }
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ impl SpanExporterBuilder<NoExporterBuilderSet> {
5454
5555 #[ cfg( any( feature = "http-proto" , feature = "http-json" ) ) ]
5656 pub fn with_http ( self ) -> SpanExporterBuilder < HttpExporterBuilderSet > {
57- println ! ( "SpanExporterBuilder::with_http" ) ;
5857 SpanExporterBuilder {
5958 client : HttpExporterBuilderSet ( HttpExporterBuilder :: default ( ) ) ,
6059 }
You can’t perform that action at this time.
0 commit comments