Counter describes a metric that accumulates values monotonically. An example of a counter is the number of received HTTP requests.
| 3 | // Counter describes a metric that accumulates values monotonically. |
| 4 | // An example of a counter is the number of received HTTP requests. |
| 5 | type Counter interface { |
| 6 | With(labelValues ...string) Counter |
| 7 | Add(delta float64) |
| 8 | } |
| 9 | |
| 10 | // Gauge describes a metric that takes specific values over time. |
| 11 | // An example of a gauge is the current depth of a job queue. |
no outgoing calls
no test coverage detected
searching dependent graphs…