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

Method collect

prometheus_client/registry.py:9–10  ·  view source on GitHub ↗

Collect metrics.

(self)

Source from the content-addressed store, hash-verified

7
8class Collector(Protocol):
9 def collect(self) -> Iterable[Metric]:
10 """Collect metrics."""
11
12
13class _EmptyCollector:

Callers 5

generate_latestFunction · 0.45
collectMethod · 0.45
collectMethod · 0.45
pushMethod · 0.45
generate_latestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected