mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
Subsystem metrics reset_values should remove all redis keys
This commit is contained in:
@@ -213,6 +213,8 @@ class Metrics:
|
||||
m.reset_value(self.conn)
|
||||
self.metrics_have_changed = True
|
||||
self.conn.delete(root_key + "_lock")
|
||||
for m in self.conn.scan_iter(root_key + '_instance_*'):
|
||||
self.conn.delete(m)
|
||||
|
||||
def inc(self, field, value):
|
||||
if value != 0:
|
||||
|
||||
Reference in New Issue
Block a user