Skip to main content

Interface: $Properties

Properties of a WorkerHostInfo.

Extended by​

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.


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.


hostName?​

optional hostName?: string | null

Worker host identifier.


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).


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}"