1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-07-28 02:38:30 +00:00

update opentelemetry things

Upstream's changelogs are unhelpful :/
This commit is contained in:
Charles Hall 2023-12-21 20:32:53 -08:00 committed by June
parent a3336902a0
commit d76ea86909
3 changed files with 70 additions and 54 deletions

View file

@ -91,7 +91,7 @@ async fn main() {
let tracer = opentelemetry_jaeger::new_agent_pipeline()
.with_auto_split_batch(true)
.with_service_name("conduit")
.install_batch(opentelemetry::runtime::Tokio)
.install_batch(opentelemetry_sdk::runtime::Tokio)
.unwrap();
let telemetry = tracing_opentelemetry::layer().with_tracer(tracer);