stats.Counter.withLabels()
Description
Retrieves a sub-metric by labels.
Syntax
counter.withLabels(label)counter.withLabels(label1, label2, ...)
Parameters
withLabels(...labels)
...labels
Label values in the order as they are defined at construction.
Return Value
A sub-metric labeled with the specified values.