Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
otherview committed May 22, 2024
1 parent 449388b commit 1b79eb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions metrics/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit 1b79eb1

Please sign in to comment.