googleapis / googleapis/google-cloud-java

[java-logging] Logging on GKE has incorrect cluster location

オープン
#11,911 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: logging priority: p3
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

Current logging value for `resource.labels.location` is derived from compute location instead of GKE cluster location. This incorrect value causes us to see no container logs when clicked on "Container Logs" from GKE cluster console UI unless we explicitly remove `resource.labels.location` filter each time when GKE cluster is regional but logs have location value as zonal.

This is fixed in python logging library: https://github.com/googleapis/python-logging/pull/830 by moving to attribute `instance/attributes/cluster-location` from metadata server.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。