Skip to content

Commit

Permalink
Initialize forgotten label (#3025)
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
  • Loading branch information
kakkoyun committed Aug 12, 2020
1 parent 70f89d8 commit 7f0364d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cacheutil/memcached_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,12 @@ func newMemcachedClient(
c.failures.WithLabelValues(opGetMulti, reasonTimeout)
c.failures.WithLabelValues(opGetMulti, reasonMalformedKey)
c.failures.WithLabelValues(opGetMulti, reasonServerError)
c.failures.WithLabelValues(opGetMulti, reasonNetworkError)
c.failures.WithLabelValues(opGetMulti, reasonOther)
c.failures.WithLabelValues(opSet, reasonTimeout)
c.failures.WithLabelValues(opSet, reasonMalformedKey)
c.failures.WithLabelValues(opSet, reasonServerError)
c.failures.WithLabelValues(opSet, reasonNetworkError)
c.failures.WithLabelValues(opSet, reasonOther)

c.skipped = promauto.With(reg).NewCounterVec(prometheus.CounterOpts{
Expand Down

0 comments on commit 7f0364d

Please sign in to comment.