Skip to main content

Interface: ITaskQueueStats

taskqueue.v1.ITaskQueueStats

Properties of a TaskQueueStats.

Implemented by

Properties

approximateBacklogAge

Optional approximateBacklogAge: null | IDuration

Approximate age of the oldest task in the backlog based on the create timestamp of the task at the head of the queue.


approximateBacklogCount

Optional approximateBacklogCount: null | Long

The approximate number of tasks backlogged in this task queue. May count expired tasks but eventually converges to the right value.


tasksAddRate

Optional tasksAddRate: null | number

Approximate tasks per second added to the task queue based on activity within a fixed window. This includes both backlogged and sync-matched tasks.


tasksDispatchRate

Optional tasksDispatchRate: null | number

Approximate tasks per second dispatched to workers based on activity within a fixed window. This includes both backlogged and sync-matched tasks.