Incorrect value for location
in GKE for regional GKE clusters.
#827
Labels
api: logging
Issues related to the googleapis/python-logging API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
See googleapis/google-cloud-go#9083
In
google/cloud/logging_v2/handlers/_monitored_resources.py
, we use the value ofzone
for the value of the location label in GKE:python-logging/google/cloud/logging_v2/handlers/_monitored_resources.py
Lines 97 to 109 in 6d265bf
This is incorrect for regional GKE clusters, because the value of
location
should be the region where it is deployed, and is inconsistent with the value oflocation
for other logging statements.The text was updated successfully, but these errors were encountered: