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

Method Add

module/graphite/count.go:19–23  ·  view source on GitHub ↗

RegisterDao add

(value float64, labels diting.Labels)

Source from the content-addressed store, hash-verified

17
18//RegisterDao add
19func (c *Count) Add(value float64, labels diting.Labels) {
20
21 key := c.metricKey.Key(labels, "count")
22 c.metricsValuesCount.Add(key, value)
23}
24
25//Metrics metrics
26func (c *Count) Metrics() []graphite.Metric {

Callers

nothing calls this directly

Calls 2

KeyMethod · 0.65
AddMethod · 0.65

Tested by

no test coverage detected