opentelemetry-java
opentelemetry-java copied to clipboard
Pass parentContext to LogProcessor.emit(), similar to SpanProcessor.onStart()
E.g. store the context passed in to LogDataBuilder.setContext() (and remove setSpanContext()), and pass that context along to LogProcessor.emit().
This would enable writing a LogProcessor that adds Baggage attributes to the log telemetry (and probably other use cases).