fix: use blocking OTLP HTTP exporter (#9599)
Signed-off-by: Douwe M Osinga <douwe@sidewalklabs.com> Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ url = { version = "2.5.4", default-features = false, features = ["std"] }
|
||||
opentelemetry = { version = "0.32", default-features = false }
|
||||
opentelemetry_sdk = { version = "0.32", default-features = false, features = ["metrics"] }
|
||||
opentelemetry-http = { version = "0.32", default-features = false, features = ["internal-logs", "reqwest"] }
|
||||
opentelemetry-otlp = { version = "0.32", default-features = false, features = ["http-proto", "internal-logs", "logs", "metrics", "reqwest-client", "trace"] }
|
||||
opentelemetry-otlp = { version = "0.32", default-features = false, features = ["http-proto", "internal-logs", "logs", "metrics", "reqwest-blocking-client", "trace"] }
|
||||
opentelemetry-appender-tracing = { version = "0.32", default-features = false, features = ["experimental_span_attributes"] }
|
||||
opentelemetry-stdout = { version = "0.32", default-features = false, features = ["trace", "metrics", "logs"] }
|
||||
tracing-opentelemetry = { version = "0.33", default-features = false, features = ["metrics"] }
|
||||
|
||||
@@ -195,7 +195,7 @@ impl ExporterType {
|
||||
/// (matching what `.with_http()` produces in this build).
|
||||
///
|
||||
/// goose's `opentelemetry-otlp` build only enables the `http-proto` /
|
||||
/// `reqwest-client` transport features — not `grpc-tonic`. If the caller's
|
||||
/// `reqwest-blocking-client` transport features — not `grpc-tonic`. If the caller's
|
||||
/// environment sets `…_PROTOCOL=grpc`, the `.with_http()` exporter still
|
||||
/// builds successfully but its background batch / metric reader threads
|
||||
/// panic on the first export with
|
||||
|
||||
Reference in New Issue
Block a user