opentelemetry-collector
opentelemetry-collector copied to clipboard
OTel Collector Builder: strict versioning support
Is your feature request related to a problem? Please describe. When building a collector, it's possible to have a mismatch in the core library version and component versions. This can cause difficult to understand build failures, such as in https://github.com/open-telemetry/opentelemetry-collector/issues/8692.
Describe the solution you'd like When strict versioning is enabled, the builder could check the configured version for the core collector against any included component versions to ensure that they match, as well as ensure that the builder version and collector version match.
Describe alternatives you've considered People modify their builder config until it works 🙁
Additional context @mx-psi mentioned making this the default behavior instead of a flag. Is that something that others also want?