We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b6772 commit 2404cd5Copy full SHA for 2404cd5
prometheus_client/__init__.py
@@ -42,7 +42,7 @@ def register(self, collector):
42
with self._lock:
43
self._collectors.add(collector)
44
45
- def unregister(self, metric):
+ def unregister(self, collector):
46
'''Remove a collector from the registry.'''
47
48
self._collectors.remove(collector)
0 commit comments