[GH-ISSUE #124] [FEATURE REQUEST] Show latency of each queue in CLI #34

Closed
opened 2026-03-02 05:18:07 +03:00 by kerem · 3 comments
Owner

Originally created by @hibiken on GitHub (Mar 21, 2020).
Original GitHub issue: https://github.com/hibiken/asynq/issues/124

Originally assigned to: @hibiken on GitHub.

Is your feature request related to a problem? Please describe.
Currently, we can only see how many tasks have been enqueued in each queue using the CLI.
It'd be better if we can show the latency of each queue in the output so that user can tell when was the oldest task in the queue was enqueued.

Describe the solution you'd like
Show the latency within the stats command output.

Describe alternatives you've considered
None for now.

Additional context
None for now.

Originally created by @hibiken on GitHub (Mar 21, 2020). Original GitHub issue: https://github.com/hibiken/asynq/issues/124 Originally assigned to: @hibiken on GitHub. **Is your feature request related to a problem? Please describe.** Currently, we can only see how many tasks have been enqueued in each queue using the CLI. It'd be better if we can show the latency of each queue in the output so that user can tell when was the oldest task in the queue was enqueued. **Describe the solution you'd like** Show the latency within the `stats` command output. **Describe alternatives you've considered** None for now. **Additional context** None for now.
kerem 2026-03-02 05:18:07 +03:00
Author
Owner

@zhaolion commented on GitHub (Jul 18, 2020):

An idea:

  • Provide middleware of server side or client side, deliver performance data to promethues and show it in Grafana. 🤔
<!-- gh-comment-id:660448029 --> @zhaolion commented on GitHub (Jul 18, 2020): An idea: - Provide middleware of server side or client side, deliver performance data to promethues and show it in Grafana. 🤔
Author
Owner

@hibiken commented on GitHub (Jul 18, 2020):

@zhaolion interesting! Integration with Prometheus seems like a great thing to have.
Let me look into this as part of https://github.com/hibiken/asynq/projects/2 👍

<!-- gh-comment-id:660478430 --> @hibiken commented on GitHub (Jul 18, 2020): @zhaolion interesting! Integration with Prometheus seems like a great thing to have. Let me look into this as part of https://github.com/hibiken/asynq/projects/2 👍
Author
Owner

@hibiken commented on GitHub (Feb 15, 2021):

Moved to #246

<!-- gh-comment-id:779484915 --> @hibiken commented on GitHub (Feb 15, 2021): Moved to #246
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#34
No description provided.