-
Notifications
You must be signed in to change notification settings - Fork 602
Closed
Labels
A-traceArea: issues related to tracingArea: issues related to tracingbugSomething isn't workingSomething isn't working
Description
What happened?
OOM in trace::span_processor_with_async_runtime::BatchSpanProcessor:
opentelemetry-rust/opentelemetry-sdk/src/trace/span_processor_with_async_runtime.rs
Line 236 in dac8bd5
| self.spans.push(span); |
BatchSpanProcessor adds a span to already overloaded batch which leads to OOM.
Not tested on sync version, but seems like the problem related to both sync and async:
| spans.push(span); |
OpenTelemetry API Version / SDK version
Latest release:
opentelemetry = "0.28"
opentelemetry_sdk = "0.28"
opentelemetry-otlp = "0.28"What Exporter(s) are you seeing the problem on?
OTLP
Relevant log output
Here's the MRE demonstrating the problem: https://github.com/50U10FCA7/otel-oom
P.S. Please fix your "Bug Report" GitHub template:

Metadata
Metadata
Assignees
Labels
A-traceArea: issues related to tracingArea: issues related to tracingbugSomething isn't workingSomething isn't working