opentelemetry-rust
opentelemetry-rust copied to clipboard
OTLP Exporter - reuse buffers
OTLP Exporters are quite heavy in terms of allocations today.
In-Memory Log/Span/Metric is converted to tonic/proto Structs, which requires ownership and forces clone.
This is serialized into vec
Opening an issue to investigate and improve this.
Related: https://github.com/open-telemetry/opentelemetry-rust/pull/2485