RecordableHistogram

@native @JSType trait RecordableHistogram extends StObject with Histogram
trait Histogram
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def record(`val`: BigInt): Unit
def record(`val`: Double): Unit
def recordDelta(): Unit

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

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

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def percentile(percentile: Double): Double

Returns the value at the given percentile.

Returns the value at the given percentile.

Value Params
percentile

A percentile value between 1 and 100.

Inherited from
Histogram
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def reset(): Unit

Resets the collected histogram data.

Resets the collected histogram data.

Inherited from
Histogram
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Inherited fields

val exceeds: Double

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

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

Inherited from
Histogram
val max: Double

The maximum recorded event loop delay.

The maximum recorded event loop delay.

Inherited from
Histogram
val mean: Double

The mean of the recorded event loop delays.

The mean of the recorded event loop delays.

Inherited from
Histogram
val min: Double

The minimum recorded event loop delay.

The minimum recorded event loop delay.

Inherited from
Histogram
val percentiles: Map[Double, Double]

A Map object detailing the accumulated percentile distribution.

A Map object detailing the accumulated percentile distribution.

Inherited from
Histogram
val stddev: Double

The standard deviation of the recorded event loop delays.

The standard deviation of the recorded event loop delays.

Inherited from
Histogram