Skip to content

Commit 2e3b0c7

Browse files
committed
Add a debug log
1 parent 0771fa1 commit 2e3b0c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gen3workflow/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ def get_app(httpx_client=None) -> FastAPI:
6565
enabled=config["ENABLE_PROMETHEUS_METRICS"],
6666
prometheus_dir=config["PROMETHEUS_MULTIPROC_DIR"],
6767
)
68+
logger.debug(
69+
f"Setting up Metrics with app.metrics.enabled flag set to {app.metrics.enabled=}"
70+
)
6871
if app.metrics.enabled:
6972
app.mount("/metrics", app.metrics.get_asgi_app())
7073

0 commit comments

Comments
 (0)