There was an error while loading. Please reload this page.
To reproduce:
from prometheus_client import Counter c = Counter("c", "c") c.inc() c.clear()
The error returned is:
AttributeError: 'Counter' object has no attribute '_lock'
Is using .clear() in this way supported?
To reproduce:
from prometheus_client import Counter c = Counter("c", "c") c.inc() c.clear()The error returned is:
Is using .clear() in this way supported?