histogramBuckets

fun histogramBuckets(name: String, block: HistogramBuilder.() -> Unit, buckets: List<Double>): Histogram

Creates a histogram with predefined buckets.

Return

A configured Histogram instance.

Parameters

name

The name of the histogram.

block

A configuration block for the histogram.

buckets

A list of bucket boundaries in Doubles.