MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / generate_latest

Function generate_latest

src/core/monitoring.py:50–51  ·  view source on GitHub ↗
(registry: Any = None)

Source from the content-addressed store, hash-verified

48 Counter = Gauge = Histogram = _NoopMetric
49
50 def generate_latest(registry: Any = None) -> bytes:
51 return b"# prometheus_client is not installed; metrics are disabled\n"
52
53from .config import config
54

Callers 1

render_main_metricsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected