Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring pubsub queues without extension #635

Closed
Danack opened this issue Aug 16, 2017 · 1 comment
Closed

Monitoring pubsub queues without extension #635

Danack opened this issue Aug 16, 2017 · 1 comment
Assignees
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.

Comments

@Danack
Copy link

Danack commented Aug 16, 2017

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

@dwsupplee dwsupplee added 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. labels Aug 16, 2017
@jdpedrie
Copy link
Contributor

jdpedrie commented Dec 6, 2017

Moving this to the new Feature Request wiki page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants