github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/metrics/gauge.go (about)

     1  package metrics
     2  
     3  // Gauge tracks single float64 value.
     4  type Gauge interface {
     5  	Add(delta float64)
     6  	Set(value float64)
     7  }
     8  
     9  // GaugeVec returns Gauge from GaugeVec by labels
    10  type GaugeVec interface {
    11  	With(labels map[string]string) Gauge
    12  }