Skip to content

Commit eef9b88

Browse files
committed
remove debugs
1 parent c60a937 commit eef9b88

File tree

2 files changed

+0
-3
lines changed
  • opentelemetry-http/src
  • opentelemetry-otlp/examples/basic-otlp-http/src

2 files changed

+0
-3
lines changed

opentelemetry-http/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ pub mod hyper {
132132
where
133133
C: Connect + Clone + Send + Sync + 'static,
134134
{
135-
/// Creates a new `HyperClient` with default `HttpConnector` and `TokioExecutor`.
136135
pub fn new(connector: C, timeout: Duration, authorization: Option<HeaderValue>) -> Self {
137136
// TODO - support custom executor
138137
let inner = Client::builder(hyper_util::rt::TokioExecutor::new()).build(connector);

opentelemetry-otlp/examples/basic-otlp-http/src/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,13 @@ fn init_logs() -> Result<sdklogs::LoggerProvider, opentelemetry::logs::LogError>
4545
}
4646

4747
fn init_tracer_provider() -> Result<sdktrace::TracerProvider, TraceError> {
48-
println!("init_tracer_provider");
4948
let exporter_builder = SpanExporter::builder()
5049
.with_http()
5150
.with_protocol(Protocol::HttpBinary) //can be changed to `Protocol::HttpJson` to export in JSON format
5251
.with_endpoint("http://localhost:4318/v1/traces");
5352

5453
let exporter = exporter_builder.build()?;
5554

56-
println!("exporter built");
5755
Ok(TracerProvider::builder()
5856
.with_batch_exporter(exporter, runtime::Tokio)
5957
.with_config(Config::default().with_resource(RESOURCE.clone()))

0 commit comments

Comments
 (0)