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

Function render_main_metrics

src/core/monitoring.py:514–516  ·  view source on GitHub ↗
(db: Any, concurrency_manager: Optional[Any] = None)

Source from the content-addressed store, hash-verified

512
513
514async def render_main_metrics(db: Any, concurrency_manager: Optional[Any] = None) -> bytes:
515 await update_main_runtime_metrics(db, concurrency_manager=concurrency_manager)
516 return generate_latest(MAIN_REGISTRY)
517
518
519async def build_public_health_snapshot(db: Any) -> dict[str, Any]:

Callers 1

metricsFunction · 0.85

Calls 2

generate_latestFunction · 0.85

Tested by

no test coverage detected