Queue metrics
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 95
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 1
Description
For basic monitoring, it would be nice to have helper methods for:
- list of queue names with tasks in last X time
- sums of queued, active, scheduled, and error totals per queue
Task.tasks_from_queue has a limit of 1000 and does unnecessary work since it returns a list of tasks.
Is there a way to collect metrics about the total number of tasks per redis queue/sortedset another way independent of tasktiger?
Related to #20.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Task.tasks_from_queue and examining the Redis queues and sorted sets it uses. The issue needs clarification on the helper API, time range, queue states, and expected counting behavior before completion can be defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, redis
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100