Sitelet https://web.archive.org/web/20211231160038/https://github.com/hibiken/asynq/issues/206
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

[FEATURE REQUEST] JSON output flag for asynq stats #206

Open
rverton opened this issue Oct 20, 2020 · 4 comments
Open

[FEATURE REQUEST] JSON output flag for asynq stats #206

rverton opened this issue Oct 20, 2020 · 4 comments

Comments

@rverton
Copy link

@rverton rverton commented Oct 20, 2020

To monitor the asynq queue, it would be nice to periodically retrieve stats (like the asynq stats command currently does), but in a format which can be piped into monitoring tools.

A simple and easy way to do this would be to add a --json flag to asynq stats which outputs all gathered stats as json. This stats can then periodically be retrieved (with tools like Telegraf) and then displayed in Grafana.

@hibiken
Copy link
Owner

@hibiken hibiken commented Oct 21, 2020

Thanks for opening this issue!

Seems like a good option to have. I'll include this change in the next release.

@c-nv-s
Copy link

@c-nv-s c-nv-s commented Apr 23, 2021

definitely in favor of this feature too!

@c-nv-s
Copy link

@c-nv-s c-nv-s commented Nov 30, 2021

@hibiken any update on this request?

@hibiken
Copy link
Owner

@hibiken hibiken commented Nov 30, 2021

@c-nv-s thank you for the comment!
Sorry, this feature work has been de-prioritized because I had other features to work on. I'm currently working on metrics related work, so I may be able to work on this soon.

But if anyone's interested, feel free to open a PR for this 👍

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

Successfully merging a pull request may close this issue.

None yet
3 participants