Skip to content

Commit

Permalink
metrics: Fix bug in collecting metrics for /api/varz (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Feb 15, 2024
1 parent 54e48a6 commit 6b2e7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mwdb/core/metrics/redis_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def update_counters(self, counters: Dict[str, int]):
for key, value in counters.items():
labelkwargs = self._labelkwargs_from_key(key)
if labelkwargs is None:
return
continue
self._gauge.labels(**labelkwargs).set(value)


Expand Down

0 comments on commit 6b2e7cf

Please sign in to comment.