mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-18 18:55:54 +08:00
Update QueueSizeChart to show aggregating task count
This commit is contained in:
parent
568e2e301c
commit
a2b6925041
@ -21,6 +21,7 @@ interface TaskBreakdown {
|
|||||||
queue: string; // name of the queue.
|
queue: string; // name of the queue.
|
||||||
active: number; // number of active tasks in the queue.
|
active: number; // number of active tasks in the queue.
|
||||||
pending: number; // number of pending tasks in the queue.
|
pending: number; // number of pending tasks in the queue.
|
||||||
|
aggregating: number; // number of aggregating tasks in the queue.
|
||||||
scheduled: number; // number of scheduled tasks in the queue.
|
scheduled: number; // number of scheduled tasks in the queue.
|
||||||
retry: number; // number of retry tasks in the queue.
|
retry: number; // number of retry tasks in the queue.
|
||||||
archived: number; // number of archived tasks in the queue.
|
archived: number; // number of archived tasks in the queue.
|
||||||
@ -55,6 +56,7 @@ function QueueSizeChart(props: Props) {
|
|||||||
<Legend />
|
<Legend />
|
||||||
<Bar dataKey="active" stackId="a" fill="#1967d2" />
|
<Bar dataKey="active" stackId="a" fill="#1967d2" />
|
||||||
<Bar dataKey="pending" stackId="a" fill="#669df6" />
|
<Bar dataKey="pending" stackId="a" fill="#669df6" />
|
||||||
|
<Bar dataKey="aggregating" stackId="a" fill="#e69138" />
|
||||||
<Bar dataKey="scheduled" stackId="a" fill="#fdd663" />
|
<Bar dataKey="scheduled" stackId="a" fill="#fdd663" />
|
||||||
<Bar dataKey="retry" stackId="a" fill="#f666a9" />
|
<Bar dataKey="retry" stackId="a" fill="#f666a9" />
|
||||||
<Bar dataKey="archived" stackId="a" fill="#ac4776" />
|
<Bar dataKey="archived" stackId="a" fill="#ac4776" />
|
||||||
|
Loading…
Reference in New Issue
Block a user