Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.145.0
End User Changelog
💡 Enhancements 💡
pkg/scraperhelper: ScraperID has been added to the logs for metrics, logs, and profiles (#14461)
🧰 Bug fixes 🧰
-
exporter/otlp_grpc: Fix the OTLP exporter balancer to use round_robin by default, as intended. (#14090) -
pkg/config/configoptional: FixUnmarshalmethods not being called when config is wrapped insideOptional(#14500)
This bug notably manifested in the fact that thesending_queue::batch::sizerconfig for exporters
stopped defaulting tosending_queue::sizer, which sometimes caused the wrong units to be used
when configuringsending_queue::batch::min_sizeandmax_size.As part of the fix,
xconfmapexposes a newxconfmap.WithForceUnmarshaleroption, to be used in theUnmarshalmethods
of wrapper types likeconfigoptional.Optionalto make sure theUnmarshalmethod of the inner type is called.The default behavior remains that calling
conf.Unmarshalon theconfmap.Confpassed as argument to anUnmarshal
method will skip any top-levelUnmarshalmethods to avoid infinite recursion in standard use cases. -
pkg/confmap: Fix an issue where configs could fail to decode when using interpolated values in string fields. (#14413)
For example, a header can be set via an environment variable to a string that is parseable as a number, e.g.1234 -
pkg/service: Don't error on startup when process metrics are enabled on unsupported OSes (e.g. AIX) (#14307)
API Changelog
💡 Enhancements 💡
pkg/config/configgrpc: add client info to context before server authentication (#12836)pkg/xscraperhelper: Add AddProfilesScraper similar to scraperhelper.AddMetricsScraper (#14427)
🧰 Bug fixes 🧰
-
pkg/config/configoptional: FixUnmarshalmethods not being called when config is wrapped insideOptional(#14500)
This bug notably manifested in the fact that thesending_queue::batch::sizerconfig for exporters
stopped defaulting tosending_queue::sizer, which sometimes caused the wrong units to be used
when configuringsending_queue::batch::min_sizeandmax_size.As part of the fix,
xconfmapexposes a newxconfmap.WithForceUnmarshaleroption, to be used in theUnmarshalmethods
of wrapper types likeconfigoptional.Optionalto make sure theUnmarshalmethod of the inner type is called.The default behavior remains that calling
conf.Unmarshalon theconfmap.Confpassed as argument to anUnmarshal
method will skip any top-levelUnmarshalmethods to avoid infinite recursion in standard use cases.