RATATOSK
← リリース一覧

OpenTelemetryv0.149.0

破壊的変更 1重大な修正 2機能・改善 2その他の変更 2

OpenTelemetryの通知を受け取る

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

破壊的変更1

pkg/service が内部メトリクスからサービス識別ラベルを削除

影響対象Collector の内部メトリクス

これまでは、すべての内部メトリクス系列に service_name、service_instance_id、service_version のラベルが付いていました。これらのラベルは target_info のみに表示されるようになったため、個々のメトリクスをこれらのラベルで絞り込んだりグループ化したりするクエリでは、target_info との結合が必要です。

原文を表示
- `pkg/service`: Remove `service_name`, `service_instance_id`, and `service_version` as constant labels on every internal metric datapoint. These attributes are already present in `target_info` and were being duplicated on each series for OpenCensus backwards compatibility. (#14811)
  Previously, the collector stamped every internal metric series (e.g. `otelcol_process_runtime_heap_alloc_bytes`)
  with `service_name`, `service_instance_id`, and `service_version` labels to match the old OpenCensus behavior.
  These attributes are now only present in the `target_info` metric, which is the correct Prometheus/OTel convention.
  Users who filter or group by these labels on individual metrics will need to update their queries to use
  `target_info` joins instead.
github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.149.0

重大な修正2

  • エンティティコード生成時の extra_attributes のリソースへの配置
    影響対象エンティティメタデータで extra_attributes を使用して cmd/mdatagen が生成したエンティティコード(推定)

    cmd/mdatagen がエンティティコードを生成する際、k8s.namespace.name や k8s.node.name などの属性はリソースではなく、エンティティの記述属性として追加されていました。

    - `cmd/mdatagen`: Fix entity code generation so `extra_attributes` are emitted as resource attributes instead of entity descriptive attributes. (#14778)
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.149.0
  • cmd/mdatagen の RootPackage に Go モジュールルートを使用
    影響対象Go モジュールのルートと Git リポジトリのルートが異なる環境で cmd/mdatagen を実行する場合

    v0.148.0 以降、cmd/mdatagen は helpers.RootPackage を使ってインポートルートを解決しており、この構成で実行すると、その不一致の影響を受ける可能性がありました。

    ### 🧰 Bug fixes 🧰
    - `cmd/mdatagen`: Fix RootPackage to use go module root instead of git repo root (#14801)
      Fixes issue with running mdatagen when the git repository root is different from the go module root.
    github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.149.0

機能・改善2

その他の変更2

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