Skip to main content
Version: 3.1

SystemStatusOptions

Index

Properties

optionalcurrentHistorySecs

currentHistorySecs?: number = <p>5</p>

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

optionalmaxClientOverloadedRatio

maxClientOverloadedRatio?: number = <p>0.3</p>

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

optionalmaxCpuOverloadedRatio

maxCpuOverloadedRatio?: number = <p>0.4</p>

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

optionalmaxEventLoopOverloadedRatio

maxEventLoopOverloadedRatio?: number = <p>0.6</p>

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

optionalmaxMemoryOverloadedRatio

maxMemoryOverloadedRatio?: number = <p>0.2</p>

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

optionalsnapshotter

snapshotter?: Snapshotter

The Snapshotter instance to be queried for SystemStatus.