Merge branch 'master' into pro

* master:
  Handling missing histogram prometheus counter.
This commit is contained in:
Samuel Clay 2022-04-18 16:24:43 -04:00
commit 0883c20378

View file

@ -650,6 +650,8 @@ def clear_prometheus_aggregation_stats():
elif os.path.isdir(file_path):
shutil.rmtree(file_path)
except Exception as e:
if 'No such file' in str(e):
return
print('Failed to delete %s. Reason: %s' % (file_path, e))