We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc58e78 commit e9f8173Copy full SHA for e9f8173
app/metrics/metrics.go
@@ -171,7 +171,7 @@ func (m *Manager) IncrementDailyBy(key string, n int64) {
171
172
if counter, ok := counterInterface.(prometheus.Counter); ok {
173
// Try to register the counter (ignore already registered errors)
174
- m.registry.Register(counter)
+ m.registry.Register(counter) //nolint:all
175
counter.Add(float64(n))
176
}
177
0 commit comments