# OpenTelemetry v0.149.0

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

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

## 破壊的変更 (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.

## 重大な修正 (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)

### `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.

## 機能・改善 (2)

- `cmd/mdatagen` の SemConv 属性参照
- mdatagen 設定用 Go 構造体の必須フィールド検証の自動生成

## その他の変更 (2)

- aix/ppc64 のサポートレベルを Tier 3 に変更
- Profiles の安定性レベルを alpha に引き上げ

---

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