HistogramBuilder

constructor(name: String, buckets: List<Double>? = null)

Constructs a histogram builder.

Parameters

name

The metric name.

buckets

Optional list of bucket boundaries for the histogram.