Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon authored and Gordon committed Jul 16, 2024
1 parent b5addbe commit 4b8a10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telemetry/prometheus/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func (p *metrics) getOrRegisterNewGagueVec(name string, labels []string) *promet
return gaugeVec
}

// Helper method to get or register a CountVec.
// Helper method to get or register a CounterVec.
func (p *metrics) getOrRegisterNewCounterVec(name string, labels []string) *prometheus.CounterVec {
// Attempt to read from the RWMap without metricsRegistrationLock.
if counterVec, exists := p.counterVecs.Get(name); exists {
Expand Down

0 comments on commit 4b8a10a

Please sign in to comment.