MCPcopy
hub / github.com/go-kit/kit / Counter

Struct Counter

metrics/statsd/statsd.go:191–194  ·  view source on GitHub ↗

Counter is a StatsD counter. Observations are forwarded to a Statsd object, and aggregated (summed) per timeseries.

Source from the content-addressed store, hash-verified

189// Counter is a StatsD counter. Observations are forwarded to a Statsd object,
190// and aggregated (summed) per timeseries.
191type Counter struct {
192 name string
193 obs observeFunc
194}
195
196// With is a no-op.
197func (c *Counter) With(...string) metrics.Counter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected