open-telemetry / opentelemetry-collector

OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
3.94k stars 1.32k forks source link

Move shared component map out of internal package #10036

Open spiffyy99 opened 3 weeks ago

spiffyy99 commented 3 weeks ago

Is your feature request related to a problem? Please describe. Edge Processor team at Splunk would like to make use of this internal component https://github.com/open-telemetry/opentelemetry-collector/blob/main/internal/sharedcomponent/sharedcomponent.go. This will help us build a custom S2S receiver that supports both different data types (metrics and logs) in the same receiver. This is necessary because the receiver should be able to handle both data types on the same port, and only one receiver can spawn per port number.

Describe the solution you'd like The shared component map should be moved out of the internal package and into a publicly accessible location.

Describe alternatives you've considered