From 9c470c047ef604a27efc9ef392a7b922a03c8948 Mon Sep 17 00:00:00 2001 From: Marten Wijnja Date: Wed, 11 Feb 2026 17:12:03 +0100 Subject: [PATCH] Export OpenTelemetry OTLP traces using the HTTP export rather than the gRPC one, as it is much wider supported --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- opsqueue/app/main.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7faf776..1ff95c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1819,7 +1819,7 @@ dependencies = [ [[package]] name = "opsqueue" -version = "0.32.2" +version = "0.33.0" dependencies = [ "anyhow", "arc-swap", @@ -1872,7 +1872,7 @@ dependencies = [ [[package]] name = "opsqueue_python" -version = "0.32.2" +version = "0.33.0" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index c3e29c7..4f16a23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ ] [workspace.package] -version = "0.32.2" +version = "0.33.0" [workspace.lints.clippy] diff --git a/opsqueue/app/main.rs b/opsqueue/app/main.rs index f5794d9..6092a32 100644 --- a/opsqueue/app/main.rs +++ b/opsqueue/app/main.rs @@ -170,7 +170,7 @@ fn otel_tracer_provider() -> SdkTracerProvider { .and_then(|x| x.parse().ok()) .unwrap_or(1.0); - let exporter = SpanExporter::builder().with_tonic().build().unwrap(); + let exporter = SpanExporter::builder().with_http().build().unwrap(); let sampler = Sampler::ParentBased(Box::new(Sampler::TraceIdRatioBased( default_trace_sample_rate, )));