opentelemetry-collector
opentelemetry-collector copied to clipboard
"immutable" config.[Receiver|Processor|Exporter|Extension] interface
trafficstars
Right now, we do have a "GetID/SetID" on the configuration interface for all our components, this causes the interface to have "mutable" funcs. It would be cleaner from a design perspective if we separate the ID from the config.
A draft PR https://github.com/open-telemetry/opentelemetry-collector/pull/3840 was done, but don't know if I have time to finish this.
@bogdandrutu If you want I can have a look into this.