According to https://cloud.google.com/monitoring/api/resources#tag_pubsub_subscription the subscription_id is a label for all resource types of pubsub_subscription.
However, querying the monitoring API for a list of metric descriptors for "pubsub.googleapis.com/subscription/num_undelivered_messages" returns zero labels. This is using the Python SDK. Is this expected? How do I filter a particular metric under this resource using the subscription_id?
--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/684c5a00-87ed-4da3-8822-9acf11de65c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.