From 1b79eb1d6bf751a8ff606315c5f9ffb77171b60d Mon Sep 17 00:00:00 2001 From: otherview Date: Wed, 22 May 2024 12:47:30 +0100 Subject: [PATCH] pr comments --- metrics/telemetry.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) }