stats.Histogram()
Description
Creates an instance of Histogram.
Syntax
new stats.Histogram(name, [...buckets])new stats.Histogram(name, [...buckets], [...labelNames])
Parameters
new stats.Histogram(name, buckets, labelNames?)
namebucketslabelNames?
Name of the histogram metric.
No description
An array of label names.
Return Value
A Histogram object with the specified name and labels.