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

Pass parentContext to LogProcessor.emit(), similar to SpanProcessor.onStart()

Open trask opened this issue 2 years ago • 0 comments

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).

trask avatar Feb 03 '22 21:02 trask