Skip to content
Snippets Groups Projects
Commit 4d4b214a authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

link to the issue where there's some discussion about clear()

parent a3b200af
No related branches found
No related tags found
2 merge requests!264Server-side metric for spent ZKAPs for Prometheus,!265Add a metric for invalid ZKAP attempts
......@@ -234,7 +234,8 @@ class ZKAPAuthorizerStorageServer(Referenceable):
"""
Forget all recorded metrics.
"""
# There is also a `clear` method but it raises an AttributeError.
# There is also a `clear` method it's for something else. See
# https://github.com/prometheus/client_python/issues/707
self._metric_spending_successes._metric_init()
def remote_get_version(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment