SystemStatusOptions
Index
Properties
optionalcurrentHistorySecs
optionalloadSignals
Additional load signals to include in the system status evaluation. These are evaluated alongside the built-in memory, CPU, event loop, and client signals. If any signal reports overload, the system is considered overloaded.
optionalmaxClientOverloadedRatio
Sets the maximum ratio of overloaded snapshots in a Client sample. If the sample exceeds this ratio, the system will be overloaded.
optionalmaxCpuOverloadedRatio
Sets the maximum ratio of overloaded snapshots in a CPU sample. If the sample exceeds this ratio, the system will be overloaded.
optionalmaxEventLoopOverloadedRatio
Sets the maximum ratio of overloaded snapshots in an event loop sample. If the sample exceeds this ratio, the system will be overloaded.
optionalmaxMemoryOverloadedRatio
Sets the maximum ratio of overloaded snapshots in a memory sample. If the sample exceeds this ratio, the system will be overloaded.
optionalsnapshotter
The Snapshotter instance to be queried for SystemStatus.
Defines max age of snapshots used in the SystemStatus.getCurrentStatus measurement.