RATATOSK
← リリース一覧

OpenTelemetryv0.145.0

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

OpenTelemetryの通知を受け取る

週次メールは確認すべき変更がある週だけ、深刻度がcriticalのセキュリティアドバイザリは即時に届きます。

重大な修正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)
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
  • 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`.
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
  • 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`.
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
  • 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`
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
  • 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)
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0

機能・改善2

  • ラッパー型での内部型の強制アンマーシャリング

    利用条件 内部型の Unmarshal メソッドを呼び出すため、ラッパー型の Unmarshal メソッドで xconfmap.WithForceUnmarshaler を使用すること

      As part of the fix, `xconfmap` exposes a new `xconfmap.WithForceUnmarshaler` option, to be used in the `Unmarshal` methods
      of wrapper types like `configoptional.Optional` to make sure the `Unmarshal` method of the inner type is called.
      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.
      As part of the fix, `xconfmap` exposes a new `xconfmap.WithForceUnmarshaler` option, to be used in the `Unmarshal` methods
      of wrapper types like `configoptional.Optional` to make sure the `Unmarshal` method of the inner type is called.
      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.
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
  • pkg/xscraperhelper に AddProfilesScraper ヘルパーを追加
    - `pkg/xscraperhelper`: Add AddProfilesScraper similar to scraperhelper.AddMetricsScraper (#14427)
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.145.0
その他の変更2

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