opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

"immutable" config.[Receiver|Processor|Exporter|Extension] interface

Open bogdandrutu opened this issue 2 years ago • 1 comments

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 avatar Jan 19 '22 20:01 bogdandrutu

@bogdandrutu If you want I can have a look into this.

rahuldimri avatar Jul 29 '22 12:07 rahuldimri