Skip to content

opentelemetry source: http headers work only for logs with use_otlp_decoding set to false #24306

@ozanichkovsky

Description

@ozanichkovsky

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

Whether it is about logs, metrics, or traces, decoded natively or as OTLP, it is still a great possibility to be able to specify headers to add to the event in order to be able to filter or route by header. But it currently works for logs only when use_otlp_decoding is set to false.

It works when enrichment logic is added to all event types and was testes with a custom local build based on the PR #24307

Configuration


Version

0.51.1

Debug Output


Example Data

No response

Additional Context

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugA code related bug.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions