We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0771fa1 commit 2e3b0c7Copy full SHA for 2e3b0c7
gen3workflow/app.py
@@ -65,6 +65,9 @@ def get_app(httpx_client=None) -> FastAPI:
65
enabled=config["ENABLE_PROMETHEUS_METRICS"],
66
prometheus_dir=config["PROMETHEUS_MULTIPROC_DIR"],
67
)
68
+ logger.debug(
69
+ f"Setting up Metrics with app.metrics.enabled flag set to {app.metrics.enabled=}"
70
+ )
71
if app.metrics.enabled:
72
app.mount("/metrics", app.metrics.get_asgi_app())
73
0 commit comments