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