Skip to content

[Baggage Processor] Introduce a BaggageLogRecordProcessor for parity with the BaggageSpanProcessor  #1577

@cyrille-leclerc

Description

@cyrille-leclerc

Component(s)

No response

Is your feature request related to a problem? Please describe.

In many use cases such as multi tenant applications, it is very helpful to use the Baggage API to propagate context across requests and to enrich the telemetry with these baggage attributes.
If it is possible today to enrich span attributes with baggage entries using -D otel.java.experimental.span-attributes.copy-from-baggage.include=... and the BaggageSpanProcessor, there is no equivalent to enrich log attributes.

Describe the solution you'd like

A BaggageLogRecordProcessor configurable through -D otel.java.experimental.log-attributes.copy-from-baggage.include=... to replicate what we have for spans.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions