Skip to content

Commit

Permalink
chore: enable jaeger aoto split batch
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyr committed Jun 8, 2022
1 parent 80adfaf commit 1b5c0e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/block-producer/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub fn init(trace: Option<Trace>) -> Result<ShutdownGuard> {
let jaeger_layer = {
let tracer = opentelemetry_jaeger::new_pipeline()
.with_service_name("godwoken")
.with_auto_split_batch(true)
.install_batch(opentelemetry::runtime::Tokio)?;
tracing_opentelemetry::layer().with_tracer(tracer)
};
Expand Down

0 comments on commit 1b5c0e1

Please sign in to comment.