MCPcopy Index your code
hub / github.com/prometheus/client_python / labels

Method labels

prometheus_client/context_managers.py:72–73  ·  view source on GitHub ↗
(self, *args, **kw)

Source from the content-addressed store, hash-verified

70 callback(duration)
71
72 def labels(self, *args, **kw):
73 self._metric = self._metric.labels(*args, **kw)
74
75 def __call__(self, f: "F") -> "F":
76 def wrapped(func, *args, **kwargs):

Calls

no outgoing calls