# Knative knative-v1.19.8

2025-12-23 · [元のリリースノート](https://github.com/knative/serving/releases/tag/knative-v1.19.8) · [全体のまとめ](https://ratatosk.io/ja/releases/knative/knative-v1.19.8)

破壊的変更 3 · 重大な修正 1

## 破壊的変更 (3)

### Knative Serving のリクエスト所要時間・キュー深度メトリクス名の変更

- 影響対象: Knative Serving のリクエスト所要時間メトリクスとキュー深度メトリクス (推定)

従来、これらのメトリクス名はそれぞれ `kn.queueproxy.app.duration` と `kn.queueproxy.depth` でした。アップグレード後は、それぞれ `kn.serving.invocation.duration` と `kn.serving.queue.depth` として出力されます。

根拠: “Fix metric names to match the original design document `kn.queueproxy.app.duration` becomes `kn.serving.invocation.duration` and `kn.queueproxy.depth` becomes `kn.serving.queue.depth`” https://github.com/knative/serving/pull/16292

> * [release-1.19] Fix Serving Metric Names to match Design Document by @knative-prow-robot in https://github.com/knative/serving/pull/16292

### Service stats-scraper のメトリクスから `metrics.RevisionNameKey` が除外

- 影響対象: `metrics.RevisionNameKey` を使用する監視システムまたは自動化処理が利用する Knative Serving のメトリクス (推定)

以前は、スクレーパーがリビジョン名をメトリクス属性として付与していました。

根拠: “+ // TODO: Re-enable when OTel has the ability to remove attributes + // metrics.RevisionNameKey.With(revisionName),” https://github.com/knative/serving/pull/16301

> * [release-1.19] Make autoscaler instrument async so we can remove metric attributes when revisions go away by @knative-prow-robot in https://github.com/knative/serving/pull/16301

### OpenCensus サポートの削除

- 影響対象: OpenCensus を使用する構成

代替手段として OpenTelemetry が推奨されています。

> We've dropped support for OpenCensus (which has been deprecated for a while) in favour of OpenTelemetry. This is a breaking change and details are documented here in the [design document](https://docs.google.com/document/d/1QQ_ubc0RjeZbRHdN4rQR85Z7RZfTSjz4GoKsE0dZ2Z0/edit?pli=1&tab=t.0#heading=h.n8a530nnrb=). and the website (https://knative.dev/docs/serving/observability/metrics/collecting-metrics/)

## 重大な修正 (1)

### オートスケーラーのメトリクス整理によるメモリ使用量の際限ない増加の防止

- 影響対象: オートスケーラーのスケーリングメトリクス、または `PodAutoscaler` リソースの KPA メトリクスを使用する Knative Serving 環境 (推定)

Revision がなくなった後もメトリクス属性が残り、メモリ使用量が際限なく増加する一因となることがありました。メトリクスは非同期で観測されるようになり、対応するスケーラーまたは `PodAutoscaler` が削除されると登録も解除され、これらの属性を削除できるようになりました。

> * [release-1.19] Make autoscaler instrument async so we can remove metric attributes when revisions go away by @knative-prow-robot in https://github.com/knative/serving/pull/16301

---

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