File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use opentelemetry::global;
77//use opentelemetry::{InstrumentationScope, trace::TracerProvider};
88//use opentelemetry_sdk::trace;
99use opentelemetry:: trace:: TracerProvider ;
10- use opentelemetry_otlp:: WithHttpConfig ;
10+ // use opentelemetry_otlp::WithHttpConfig;
1111//use opentelemetry_sdk::trace::BatchSpanProcessor;
1212use opentelemetry_sdk:: trace:: Sampler ;
1313use opentelemetry_sdk:: trace:: SimpleSpanProcessor ;
@@ -174,9 +174,9 @@ async fn main() -> anyhow::Result<()> {
174174
175175 // https://github.com/commonwarexyz/monorepo/blob/27e6f73fce91fc46ef7170e928cbcf96cc635fea/runtime/src/tokio/tracing.rs#L10
176176 let exporter = SpanExporter :: builder ( )
177- . with_http ( )
178- . with_http_client ( reqwest:: blocking:: Client :: new ( ) )
179- // .with_tonic()
177+ // .with_http()
178+ // .with_http_client(reqwest::blocking::Client::new())
179+ . with_tonic ( )
180180 . with_endpoint ( & otlp_endpoint)
181181 . build ( ) ?;
182182
You can’t perform that action at this time.
0 commit comments