IntervalHistogram

external interface IntervalHistogram : Histogram(source)

Properties

Link copied to clipboard
abstract external val count: Double

The number of samples recorded by the histogram.

Link copied to clipboard
abstract external val countBigInt: BigInt

The number of samples recorded by the histogram. v17.4.0, v16.14.0

Link copied to clipboard
abstract external val exceeds: Double

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

Link copied to clipboard
abstract external val exceedsBigInt: BigInt

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

Link copied to clipboard
abstract external val max: Double

The maximum recorded event loop delay.

Link copied to clipboard
abstract external val maxBigInt: Double

The maximum recorded event loop delay. v17.4.0, v16.14.0

Link copied to clipboard
abstract external val mean: Double

The mean of the recorded event loop delays.

Link copied to clipboard
abstract external val min: Double

The minimum recorded event loop delay.

Link copied to clipboard
abstract external val minBigInt: BigInt

The minimum recorded event loop delay. v17.4.0, v16.14.0

Link copied to clipboard
abstract external val percentiles: ReadonlyMap<Double, Double>

Returns a Map object detailing the accumulated percentile distribution.

Link copied to clipboard
abstract external val percentilesBigInt: ReadonlyMap<BigInt, BigInt>

Returns a Map object detailing the accumulated percentile distribution.

Link copied to clipboard
abstract external val stddev: Double

The standard deviation of the recorded event loop delays.

Functions

Link copied to clipboard
abstract external fun disable(): Boolean

Disables the update interval timer. Returns true if the timer was stopped, false if it was already stopped.

Link copied to clipboard
abstract external fun enable(): Boolean

Enables the update interval timer. Returns true if the timer was started, false if it was already started.

Link copied to clipboard
abstract external fun percentile(percentile: Number): Double

Returns the value at the given percentile.

Link copied to clipboard
abstract external fun percentileBigInt(percentile: Number): BigInt

Returns the value at the given percentile.

Link copied to clipboard
abstract external fun reset()

Resets the collected histogram data.