open-telemetry / opentelemetry-java-contrib

https://opentelemetry.io
Apache License 2.0
158 stars 126 forks source link

Reuse add_metadata_from_filepath #1361

Closed zeitlinger closed 3 months ago

zeitlinger commented 3 months ago

Component(s)

processors

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

add_metadata_from_filepath is tied to the container operator.

Describe the solution you'd like

Would it make sense to move this feature to file consumer, so that it can be reused, e.g. in OTLP JSON File Receiver?

Describe alternatives you've considered

No response

Additional context

No response

zeitlinger commented 3 months ago

@djaglowski

djaglowski commented 3 months ago

Should this be moved to collector contrib?

zeitlinger commented 3 months ago

Should this be moved to collector contrib?

yes!

djaglowski commented 3 months ago

I don't have permissions to move the issue. Not sure who does. Mind just closing this and reopening a new one?

zeitlinger commented 3 months ago

closed in favor of https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33912