MCPcopy
hub / github.com/prometheus/client_js / labels

Method labels

lib/counter.js:124–129  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

122 }
123
124 labels(...args) {
125 const labels = getLabels(this.labelNames, args) || {};
126 return {
127 inc: this.inc.bind(this, labels),
128 };
129 }
130
131 remove(...args) {
132 const labels = getLabels(this.labelNames, args) || {};

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected