Skip to main content
This is documentation for SDK for JavaScript | Apify Documentation 2.3, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.4).
Version: 2.3

SystemStatusOptions

Properties

currentHistorySecs

Type: number = 5

Defines max age of snapshots used in the SystemStatus.getCurrentStatus() measurement.


maxMemoryOverloadedRatio

Type: number = 0.2

Sets the maximum ratio of overloaded snapshots in a memory sample. If the sample exceeds this ratio, the system will be overloaded.


maxEventLoopOverloadedRatio

Type: number = 0.6

Sets the maximum ratio of overloaded snapshots in an event loop sample. If the sample exceeds this ratio, the system will be overloaded.


maxCpuOverloadedRatio

Type: number = 0.4

Sets the maximum ratio of overloaded snapshots in a CPU sample. If the sample exceeds this ratio, the system will be overloaded.


maxClientOverloadedRatio

Type: number = 0.3

Sets the maximum ratio of overloaded snapshots in a Client sample. If the sample exceeds this ratio, the system will be overloaded.


snapshotter

Type: Snapshotter

The Snapshotter instance to be queried for SystemStatus.


Morty Proxy This is a proxified and sanitized view of the page, visit original site.