Go to Stackdriver in Google Cloud Platform Console to view Stackdriver monitoring dashboards or to define Stackdriver alerts. You can also use the Stackdriver monitoring API to query and view metrics for subscriptions and topics.
Metrics and resource types
- To see the usage metrics that Cloud Pub/Sub reports to Stackdriver, view the Metrics List in the Stackdriver documentation.
- To see the details for the
pubsub_subscriptionmonitored resource types, view Monitored Resource Types in the Stackdriver documentation.
Monitor topic or subscription quota utilization
You can use the APIs and services quotas dashboard to monitor the current utilization for a given topic or subscription.
Those metrics are:
Note that these metrics are in bytes, whereas quota is measured in kilobytes.