Monitoring pubsub queues without extension #635
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Hi,
I've been looking at getting the approximate number of messages in our pubsub queues, so that we can setup a monitor inside our application that checks once a minute that we are processing them at a reasonable speed.
It seems there is a library for this at https://github.com/GoogleCloudPlatform/google-cloud-php-monitoring - however that library requires installing a PECL extension, which seems like complete overkill for calling a HTTP end-point.
Most of the documentation for monitoring pubsub queues now basically redirects users to stackdriver. e.g. this page: https://cloud.google.com/pubsub/docs/monitoring.
Please could you advise as to how we can programmatically retrieve the number of messages in a queue, without having to install a custom extension.
I guess this is similar to this issue
googleapis/google-cloud-node#527
The text was updated successfully, but these errors were encountered: