OpenTelemetry
v0.161.0Observability非推奨APIの削除を含むメンテナンスリリースです。性能と正しさに関する修正が入り、feature gate識別子の検証も厳格になっています。
要対応 (5)
breaking
AddScraper関数の削除pkg/scraperhelper/controllerから非推奨のAddScraper関数を削除しました。breaking
ZapOptionsの削除pkg/serviceから非推奨のZapOptionsを削除しました。breaking
WithForceUnmarshaler関数の削除pkg/xconfmapから非推奨のWithForceUnmarshaler関数を削除しました。breaking
DefaultMetricsBuilderConfig関数の削除cmd/mdatagenから非推奨のDefaultMetricsBuilderConfig関数を削除しました。breaking
LoggingOptionsの削除pkg/serviceから非推奨の設定オプションLoggingOptionsを削除しました。
影響確認 (2)
breakingプロファイル関連の非推奨API削除
AggregationTemporality、Duration、またはSetDurationを使用している場合に適用されます。pkg/pprofileから非推奨のAggregationTemporality、Duration、SetDurationを削除しました。breaking設定スナップショットAPIへの移行
extensioncapabilities.、ConfigWatcher Extensions.、またはNotifyConfig service.を使用している場合に適用されます。Settings. CollectorConf pkg/serviceから非推奨のextensioncapabilities.インターフェース、ConfigWatcher Extensions.、NotifyConfig service.を削除しました。これらはSettings. CollectorConf ConfigSnapshotWatcher、NotifyConfigSnapshot、Settings.に置き換わります。ConfigSnapshot extensioncapabilities.、ConfigWatcher Extensions.、NotifyConfig service.はSettings. CollectorConf v0.で非推奨になりました。155. 0
その他の記録済み変更 9 件すべてfixes 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
対応が必要なリリースが出たときに、週次メールでお知らせします。 今回の破壊的変更も、その一例です。