Interface: IWorkerHostInfo
Properties of a WorkerHostInfo.
Implemented by
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.
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.
hostName
• Optional hostName: null | string
Worker host identifier.
processId
• Optional processId: null | string
Worker process identifier. Unlike process_key, this id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
processKey
• Optional processKey: null | string
Worker process identifier. This id should be unique for all processes running workers in the namespace, and should be shared by all workers in the same process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{process_key}"