From 51b03e74fe605950eb3756c02bccf989951ba8c5 Mon Sep 17 00:00:00 2001 From: Guilherme Caminha Date: Thu, 5 Dec 2024 15:38:52 +0100 Subject: [PATCH] docs: Remove `expose(app)` from metrics-diff-port-uvicorn example --- devel/examples/metrics-diff-port-uvicorn/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/examples/metrics-diff-port-uvicorn/main.py b/devel/examples/metrics-diff-port-uvicorn/main.py index 7a5fec4..d7f15d9 100644 --- a/devel/examples/metrics-diff-port-uvicorn/main.py +++ b/devel/examples/metrics-diff-port-uvicorn/main.py @@ -9,7 +9,7 @@ app = FastAPI() -Instrumentator().instrument(app).expose(app) +Instrumentator().instrument(app) @app.get("/ping")