Skip to main content

Interface: WorkerStatus

worker.WorkerStatus

Status overview of a Worker. Useful for troubleshooting issues and overall obeservability.

Properties​

activityPollerState​

• activityPollerState: PollerState

General state of the Activity poller


hasOutstandingActivityPoll​

• hasOutstandingActivityPoll: boolean

Whether this Worker has an outstanding Activity poll request


hasOutstandingWorkflowPoll​

• hasOutstandingWorkflowPoll: boolean

Whether this Worker has an outstanding Workflow poll request


numCachedWorkflows​

• numCachedWorkflows: number

Number of Workflow executions cached in Worker memory


numHeartbeatingActivities​

• numHeartbeatingActivities: number

Number of running Activities that have emitted a heartbeat


numInFlightActivities​

• numInFlightActivities: number

Number of in-flight (currently actively processed) Activities

This includes both local and non-local Activities.

See numInFlightNonLocalActivities and numInFlightLocalActivities for a breakdown.


numInFlightLocalActivities​

• numInFlightLocalActivities: number

Number of in-flight (currently actively processed) Local Activities


numInFlightNonLocalActivities​

• numInFlightNonLocalActivities: number

Number of in-flight (currently actively processed) non-Local Activities


numInFlightWorkflowActivations​

• numInFlightWorkflowActivations: number

Number of in-flight (currently actively processed) Workflow activations


runState​

• runState: State

General run state of a Worker


workflowPollerState​

• workflowPollerState: PollerState

General state of the Workflow poller