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

How to pull stats from a google cloud tasks queue that has finished? #5276

Open
ollebergkvist opened this issue Apr 22, 2024 · 0 comments
Open

Comments

@ollebergkvist
Copy link

ollebergkvist commented Apr 22, 2024

I'm trying to figure out how to pull the following stats from a Google Cloud tasks queue that has finished executing. I'm running a queue Mon, Wed, Fri every week, and I need to get some useful stats once the queue finishes every time.

  • Nr of dispatched tasks
  • Nr of successful tasks
  • Nr of unsuccessful tasks (all retries failed)
  • Timestamp queue execution start
  • Timestamp queue finished
  • Preferably also retrieving the payload of all failed requests if any

I can only find this doc: https://googleapis.dev/nodejs/tasks/3.0.2/google.cloud.tasks.v2beta2.QueueStats.html

But I can't pull the needed data from there.

Or do you need to pull this info from logs explorer or another service?

Preferably I want to configure this as a webhook meaning once a queue finishes, it triggers an endpoint that generates this data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant