Skip to main content

Interface: IWorkerHostInfo

worker.v1.IWorkerHostInfo

Properties of a WorkerHostInfo.

Hierarchy​

Properties​

currentHostCpuUsage​

• Optional currentHostCpuUsage: null | number

System used CPU as a float in the range [0.0, 1.0] where 1.0 is defined as all cores on the host pegged.

Inherited from​

$Properties.currentHostCpuUsage


currentHostMemUsage​

• Optional currentHostMemUsage: null | number

System used memory as a float in the range [0.0, 1.0] where 1.0 is defined as all available memory on the host is used.

Inherited from​

$Properties.currentHostMemUsage


hostName​

• Optional hostName: null | string

Worker host identifier.

Inherited from​

$Properties.hostName


processId​

• Optional processId: null | string

Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).

Inherited from​

$Properties.processId


workerGroupingKey​

• Optional workerGroupingKey: null | string

Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"

Inherited from​

$Properties.workerGroupingKey