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

Method describe

prometheus_client/metrics.py:86–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

84 return Metric(self._name, self._documentation, self._type, self._unit)
85
86 def describe(self) -> Iterable[Metric]:
87 return [self._get_metric()]
88
89 def collect(self) -> Iterable[Metric]:
90 metric = self._get_metric()

Callers

nothing calls this directly

Calls 1

_get_metricMethod · 0.95

Tested by

no test coverage detected