OpenTelemetry
v0.160.0Observability保守とAPIの進化を目的としたリリースです。設定の非推奨化、Goツールチェーン要件の引き上げ、性能改善、既存の呼び出し側に変更が必要なAPIシグネチャの変更を含みます。
影響確認 (3)
breaking
keepaliveと非推奨フィールドの併用制約適用対象はリリースノートに明記されていません。
非推奨フィールドと新しい
keepaliveセクションを同時に設定すると、エラーになります。breaking
go1.25.0 のサポート終了goに依存している場合に適用されます。go1.25.0 のサポートが終了しました。breakingリソース作成APIの戻り値変更
telemetry.またはFactory. CreateResource telemetry.を利用している場合に適用されます。CreateResourceFunc telemetry.とFactory. CreateResource telemetry.の戻り値が、従来のCreateResourceFunc (pcommon.からResource, error) (pcommon.に変わりました。Resource, string, error)
事前準備 (1)
deprecatedクライアント接続設定の
keepaliveセクションへの移行idle_conn_timeout、max_idle_conns、max_idle_conns_per_host、disable_keep_alives、idle_timeout、keep_alives_enabledのいずれかを設定している場合に適用されます。次のクライアント設定フィールドは、
keepaliveセクションを使う構成に移行するため非推奨になりました:idle_conn_timeout、max_idle_conns、max_idle_conns_per_host、disable_keep_alives、idle_timeout、keep_alives_enabled。
その他の記録済み変更 8 件すべてfixes 3 · value changes 3 · additions 1 · constraints 1
fixes (3)
- Allow underscores in feature gate IDs for compatibility with component names with underscores
- FromLocationIndices now returns an error instead of panicking on an out-of-range or negative location index
- Route OpenTelemetry SDK-internal errors (e.g. failed metric/log/trace exports) through the collector's configured logger instead of the OTel SDK's default global error handler
value changes (3)
- Bump go version in all go.mod to 1.26.0
- The size is now cached separately for the bytes and items dimensions and maintained incrementally during merge/split, so the check is O(1).
- Only report memory limiter component health status when the health state changes.
additions (1)
- Add
ResourceSchemaURLfield tocomponent.TelemetrySettings
constraints (1)
- Declare windows/amd64 tier 1 and windows/arm64 tier 2 support
対応が必要なリリースが出たときに、週次メールでお知らせします。 今回の破壊的変更も、その一例です。