mirror of
https://github.com/containerd/containerd.git
synced 2026-11-07 05:47:40 +00:00
When support for http/protobuf was added, the OTLP tracing processor
plugin was mistakenly changed to return a raw OTLP exporter instance.
Consequently, the type-assertion to a trace.SpanProcessor inside the
tracing pluigin would panic if the processor plugin was configured.
Modify the OTLP plugin to return a BatchSpanProcessor derived from the
exporter once more.
Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 927b34e41e)
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>