Skip to main content

WorkerMetrics.actions_executed

WorkerMetrics.actions_executed: int

WorkerMetrics.code

WorkerMetrics.code: None | int

WorkerMetrics.is_measurable

WorkerMetrics.is_measurable: bool
TODO(b/300067854): Deprecate since all worker metrics should have their WorkerStats set.

WorkerMetrics.is_multiplex

WorkerMetrics.is_multiplex: bool
Multiplex or singleplex worker.

WorkerMetrics.is_sandbox

WorkerMetrics.is_sandbox: bool
Using worker sandbox file system or not.

WorkerMetrics.mnemonic

WorkerMetrics.mnemonic: str
Mnemonic of running worker.

WorkerMetrics.prior_actions_executed

WorkerMetrics.prior_actions_executed: int

WorkerMetrics.process_id

WorkerMetrics.process_id: int
Worker process id. If there is no process for worker, equals to zero.

WorkerMetrics.worker_ids

WorkerMetrics.worker_ids: list[int]
Ids of workers. Could be multiple in case of multiplex workers

WorkerMetrics.worker_key_hash

WorkerMetrics.worker_key_hash: int
Hash value of worker key. Needed to distinguish worker pools with same menmonic but with different worker keys.

WorkerMetrics.worker_stats

WorkerMetrics.worker_stats: list[worker_stats]
Combined workers statistics.

WorkerMetrics.worker_status

WorkerMetrics.worker_status: str