From 5a4af292fcb90b5c49ca6542feb67d0f8528f85b Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Sun, 8 Mar 2026 17:07:41 +0100 Subject: [PATCH] Fix OTLP HTTP exporter: use reqwest-rustls for HTTPS support The reqwest-client feature doesn't include TLS support, causing NoHttpClient error when connecting to HTTPS endpoints. Co-Authored-By: Claude Opus 4.6 --- compliance-core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compliance-core/Cargo.toml b/compliance-core/Cargo.toml index 197ad46..2b98e4e 100644 --- a/compliance-core/Cargo.toml +++ b/compliance-core/Cargo.toml @@ -32,7 +32,7 @@ bson = { version = "2", features = ["chrono-0_4"] } mongodb = { workspace = true, optional = true } opentelemetry = { version = "0.29", optional = true } opentelemetry_sdk = { version = "0.29", features = ["rt-tokio"], optional = true } -opentelemetry-otlp = { version = "0.29", features = ["http", "reqwest-client"], optional = true } +opentelemetry-otlp = { version = "0.29", features = ["http", "reqwest-rustls"], optional = true } opentelemetry-appender-tracing = { version = "0.29", optional = true } tracing-opentelemetry = { version = "0.30", optional = true } tracing-subscriber = { workspace = true, optional = true }