RecordableHistogram

external interface RecordableHistogram : 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 add(other: RecordableHistogram)

Adds the values from other to this histogram.

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 record(value: BigInt)
abstract external fun record(value: Double)
Link copied to clipboard
abstract external fun recordDelta()

Calculates the amount of time (in nanoseconds) that has passed since the previous call to recordDelta() and records that amount in the histogram.

Link copied to clipboard
abstract external fun reset()

Resets the collected histogram data.