-
Notifications
You must be signed in to change notification settings - Fork 937
Description
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.