# OpenTelemetry v0.145.0

2026-02-02 · [元のリリースノート](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0) · [全体のまとめ](https://ratatosk.io/ja/releases/opentelemetry/v0.145.0)

重大な修正 5 · 機能・改善 2 · その他の変更 2

## 重大な修正 (5)

### OTLP gRPC エクスポーターのデフォルトバランサーを `round_robin` に修正

- 影響対象: デフォルトバランサーを使用する `exporter/otlp_grpc` OTLP エクスポーターのセットアップ (推定)

デフォルトバランサーでは、動作が `pick_first` にフォールバックすることがありました。また、passthrough リゾルバースキームでは `round_robin` が有効になりませんでした。

> - `exporter/otlp_grpc`: Fix the OTLP exporter balancer to use round_robin by default, as intended. (#14090)

### Exporter のバッチサイズ設定のデフォルト復元

- 影響対象: `sending_queue` のバッチ処理を使用する exporter 設定 (推定)

設定が `Optional` でラップされていると、`Unmarshal` メソッドがスキップされ、バッチの `min_size` と `max_size` の単位が誤ったままになることがありました。ラッパー型では `xconfmap.WithForceUnmarshaler` を使って内部の `Unmarshal` を呼び出せるようになりました。ただし、`confmap.Conf` に対するトップレベルの `Unmarshal` 呼び出しでは、デフォルトでトップレベルのメソッドは引き続きスキップされます。

> - `pkg/config/configoptional`: Fix `Unmarshal` methods not being called when config is wrapped inside `Optional` (#14500)
>   This bug notably manifested in the fact that the `sending_queue::batch::sizer` config for exporters
>   stopped defaulting to `sending_queue::sizer`, which sometimes caused the wrong units to be used
>   As part of the fix, `xconfmap` exposes a new `xconfmap.WithForceUnmarshaler` option, to be used in the `Unmarshal` methods
>   The default behavior remains that calling `conf.Unmarshal` on the `confmap.Conf` passed as argument to an `Unmarshal`
>   method will skip any top-level `Unmarshal` methods to avoid infinite recursion in standard use cases.
> - `pkg/config/configoptional`: Fix `Unmarshal` methods not being called when config is wrapped inside `Optional` (#14500)
>   This bug notably manifested in the fact that the `sending_queue::batch::sizer` config for exporters
>   stopped defaulting to `sending_queue::sizer`, which sometimes caused the wrong units to be used
>   when configuring `sending_queue::batch::min_size` and `max_size`.

### Optional でラップされた設定のアンマーシャリングとエクスポーターのバッチサイザーのデフォルト修正

- 影響対象: `Optional` でラップされたエクスポーター設定。特に `sending_queue::batch::sizer`、`sending_queue::batch::min_size`、`sending_queue::batch::max_size` を使用する設定

`sending_queue::batch::sizer` が `sending_queue::sizer` をデフォルトとして使わなくなることがあり、その結果、`sending_queue::batch::min_size` と `sending_queue::batch::max_size` の単位が誤って扱われる可能性がありました。このデフォルト設定が復元されました。

> - `pkg/config/configoptional`: Fix `Unmarshal` methods not being called when config is wrapped inside `Optional` (#14500)
>   This bug notably manifested in the fact that the `sending_queue::batch::sizer` config for exporters
>   stopped defaulting to `sending_queue::sizer`, which sometimes caused the wrong units to be used
>   when configuring `sending_queue::batch::min_size` and `max_size`.

### `pkg/confmap` の構造体コレクションにおける補間文字列のデコード修正

- 影響対象: 構造体コレクション内の文字列フィールドに補間値を含む設定

修正前は、環境変数から渡された `1234` のように文字列以外として解析された値によって、デコードに失敗することがありました。`confmap.newExpandedValueSanitizer` を有効にすると、フィールドごとにデコードすることでこの失敗を回避できます。

> - `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` における未対応 OS のプロセスメトリクス起動エラー修正

- 影響対象: プロセスメトリクスを有効にして、未対応のオペレーティングシステム向けにカスタムコンパイルされたコレクター

これらのコレクターは以前、`failed to register process metrics: not implemented yet` というエラーで起動に失敗していました。現在はこのエラーが発生せず、起動できます。

> - `pkg/service`: Don't error on startup when process metrics are enabled on unsupported OSes (e.g. AIX) (#14307)

## 機能・改善 (2)

- ラッパー型での内部型の強制アンマーシャリング (利用条件: 内部型の `Unmarshal` メソッドを呼び出すため、ラッパー型の `Unmarshal` メソッドで `xconfmap.WithForceUnmarshaler` を使用すること)
- `pkg/xscraperhelper` に `AddProfilesScraper` ヘルパーを追加

## その他の変更 (2)

- `pkg/scraperhelper` のエラーログへのスクレイパー ID 追加
- `pkg/config/configgrpc` によるサーバー認証前のクライアント情報追加

---

整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。
