Skip to main content

Interface: IWorkerHostInfo

Properties of a WorkerHostInfo.

Extends​

Properties​

currentHostCpuUsage?​

optional currentHostCpuUsage?: number | null

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?: number | null

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?: string | null

Worker host identifier.

Inherited from​

$Properties.hostName


processId?​

optional processId?: string | null

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?: string | null

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