erigon-pulse/metrics/gauge.go

11 lines
173 B
Go
Raw Normal View History

2015-06-22 09:00:55 +00:00
package metrics
// Gauges hold an int64 value that can be set arbitrarily.
type Gauge interface {
Snapshot() Gauge
Update(int64)
Dec(int64)
Inc(int64)
2015-06-22 09:00:55 +00:00
Value() int64
}