opentelemetry-rust icon indicating copy to clipboard operation
opentelemetry-rust copied to clipboard

LogRecord should not expose internal data structures to processors/exporters

Open cijothomas opened this issue 1 year ago • 0 comments

LogRecord currently exposes attributes as a Vec , which would prevent us from changing the implementation later without breaking processors/exporters. We can expose iterators only for attributes, allowing us the flexibility to change implementation in the future freely.

cijothomas avatar Jul 09 '24 22:07 cijothomas