OpenTelemetry
v0.161.0ObservabilityA maintenance release with breaking removal of deprecated APIs alongside performance and correctness fixes. It also tightens feature-gate identifier validation and updates configuration schema handling.
Action needed (5)
breakingRemoval of deprecated
AddScraperThe deprecated
AddScraperfunction is removed frompkg/scraperhelper/controller.breakingRemoval of deprecated
ZapOptionsThe deprecated
ZapOptionsconfiguration is removed frompkg/service.breakingRemoval of deprecated
WithForceUnmarshalerThe deprecated
WithForceUnmarshalerfunction is removed frompkg/xconfmap.breakingRemoval of deprecated
DefaultMetricsBuilderConfigThe deprecated
DefaultMetricsBuilderConfigfunction is removed fromcmd/mdatagen.breakingRemoval of deprecated
LoggingOptionsThe deprecated
LoggingOptionsconfiguration is removed frompkg/service.
Check if affected (2)
breakingRemoval of deprecated
AggregationTemporality,Duration, andSetDurationApplies if you use
AggregationTemporality,Duration, orSetDuration.The deprecated
AggregationTemporality,Duration, andSetDurationAPIs are removed frompkg/pprofile.breakingReplacement of deprecated configuration watcher APIs
Applies if you use
extensioncapabilities.,ConfigWatcher Extensions., orNotifyConfig service..Settings. CollectorConf The deprecated
extensioncapabilities.,ConfigWatcher Extensions., andNotifyConfig service.APIs are removed fromSettings. CollectorConf pkg/service. They are replaced byConfigSnapshotWatcher,NotifyConfigSnapshot, andSettings..ConfigSnapshot
All 9 other recorded changesfixes 6 · constraints 2 · value changes 1
fixes (6)
cmd/schemagen: Accept components written without a configuration body in the generated Collector configuration schemapkg/confmap: Fix bug where an escaped URI appearing before a valid URI prevented the subsequent URI from being expanded.pkg/pprofile: Stop erasing inline attribute keys when key_strindex is unset, and clear key_strindex once it is resolved.pkg/pprofile: Reference resource and scope attribute strings via the ProfilesDictionary string table when marshaling and unmarshaling OTLP profiles export requests.pkg/scraperhelper: Fix shutdown being delayed by extra scrapes when a scrape runs longer than the collection intervalpkg/configoptional: Properly marshal and unmarshalencoding./TextMarshaler encoding.typesTextUnmarshaler
constraints (2)
pkg/featuregate: Reject feature gate IDs with an empty dot-separated segment (leading, trailing, or consecutive dots), e.g..,foo foo.,foo..×2. bar
value changes (1)
pkg/pdata: avoid allocations in WriteInt64 and WriteUint64
A weekly email arrives when a release needs action. Like the breaking changes in this release.