MCPcopy
hub / github.com/eolinker/goku_lite / Add

Method Add

module/prometheus/metrics.go:18–20  ·  view source on GitHub ↗

Add add

(value float64, labels diting.Labels)

Source from the content-addressed store, hash-verified

16
17//Add add
18func (c *Counter) Add(value float64, labels diting.Labels) {
19 c.counterVec.With(ReadLabels(labels)).Add(value)
20}
21
22//Gauge gauge
23type Gauge struct {

Callers

nothing calls this directly

Calls 2

ReadLabelsFunction · 0.85
AddMethod · 0.65

Tested by

no test coverage detected