stats.Counter()
Description
Creates an instance of Counter.
Syntax
new stats.Counter(name)new stats.Counter(name, [...labelNames])
Parameters
new stats.Counter(name, labelNames?)
namelabelNames?
Name of the counter metric.
An array of label names.
Return Value
A Counter object with the specified name and labels.