
Using resource labels is mandatory for most Stackdriver resources other than 'Global', i.e. k8s_pod. Configuring valid resource type along with related labels makes it possible to use given metric in a wider set of GCP solutions, i.e. custom metric based GKE pod horizontal autoscaler. See gh-26961