diff --git a/metrics/telemetry.go b/metrics/telemetry.go index 26dbc1aec..97e1c74c6 100644 --- a/metrics/telemetry.go +++ b/metrics/telemetry.go @@ -70,7 +70,7 @@ func CounterVec(name string, labels []string) CountVecMeter { return metrics.GetOrCreateCountVecMeter(name, labels) } -// GaugeMeter ... +// GaugeMeter is a metric that represents a single numeric value, which can arbitrarily go up and down. type GaugeMeter interface { Add(int64) } @@ -79,7 +79,8 @@ func Gauge(name string) GaugeMeter { return metrics.GetOrCreateGaugeMeter(name) } -// GaugeVecMeter ... +// GaugeVecMeter is a metric that represents a single numeric value, which can arbitrarily go up and down +// with multiple labels. type GaugeVecMeter interface { GaugeWithLabel(int64, map[string]string) }