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

Method _child_samples

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

Source from the content-addressed store, hash-verified

499 self._child_samples = types.MethodType(samples, self) # type: ignore
500
501 def _child_samples(self) -> Iterable[Sample]:
502 return (Sample('', {}, self._value.get(), None, None),)
503
504
505class Summary(MetricWrapperBase):

Callers

nothing calls this directly

Calls 2

SampleClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected