Skip to content

Filtering span attributes #2077

@pavolloffay

Description

@pavolloffay

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

Our custom build of OTEL Java agent captures more data, to be specific we capture all request and response headers. This ultimately results in data duplication as the OTEL core instrumentation already collects some of that data. We want to use the core instrumentation, but somehow filter duplicated data. The data could be filtered in the collector, however we would like to save network bandwith from the user process to the collector.

Describe the solution you'd like

A pluggable API in the SDK where we could modify span before passing it to the exporter.

Describe alternatives you've considered

Remove duplicated data in the collector, however, if we could remove it directly in the user process it would be better from the network bandwidth perspective.

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestSuggest an idea for this projectblocked:specblocked on open or unresolved spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions