Skip to content

Commit

Permalink
init tracing otel
Browse files Browse the repository at this point in the history
  • Loading branch information
noyoshi committed Oct 15, 2024
1 parent 7334a54 commit 109ac5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions router/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ fn init_logging(otlp_endpoint: Option<String>, json_output: bool) {

if let Ok(tracer) = tracer {
layers.push(tracing_opentelemetry::layer().with_tracer(tracer).boxed());
init_tracing_opentelemetry::init_propagator().unwrap();
};
}

Expand Down

0 comments on commit 109ac5a

Please sign in to comment.