Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventLoopDelayMonitor

Index

Properties

exceeds

exceeds: number

The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold.

max

max: number

The maximum recorded event loop delay.

mean

mean: number

The mean of the recorded event loop delays.

min

min: number

The minimum recorded event loop delay.

percentiles

percentiles: Map<number, number>

A Map object detailing the accumulated percentile distribution.

stddev

stddev: number

The standard deviation of the recorded event loop delays.

Methods

disable

  • disable(): boolean
  • Disables the event loop delay sample timer. Returns true if the timer was stopped, false if it was already stopped.

    Returns boolean

enable

  • enable(): boolean
  • Enables the event loop delay sample timer. Returns true if the timer was started, false if it was already started.

    Returns boolean

percentile

  • percentile(percentile: number): number
  • Returns the value at the given percentile.

    Parameters

    • percentile: number

      A percentile value between 1 and 100.

    Returns number

reset

  • reset(): void
  • Resets the collected histogram data.

    Returns void

Generated using TypeDoc