Ultimate access to all questions.
A developer is setting up a dashboard to oversee a service utilizing Cloud Pub/Sub. They aim to detect when applications consuming data from a pull subscription in Cloud Pub/Sub fail to process messages as quickly as they are being ingested. Which metric should they monitor to identify this issue?
Explanation:
The subscription/num_undelivered_messages
metric accurately reflects the number of messages that have not been delivered, serving as a key indicator of whether subscribers are processing messages at the rate they are being ingested. This metric is specific to subscriptions, not topics, and there is no such metric as excess_ingestion_rate
. For more details, refer to Cloud Pub/Sub Monitoring Documentation.