Skip to content

Commit 64d8c80

Browse files
instrument bundled app
1 parent 9860f5a commit 64d8c80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rest_app.include_router(motor.router)
2828
rest_app.include_router(rocket.router)
2929

30-
FastAPIInstrumentor.instrument_app(rest_app)
3130
RequestsInstrumentor().instrument()
3231

3332
# Compress responses above 1KB
@@ -104,3 +103,5 @@ async def validation_exception_handler(
104103

105104
app.mount("/mcp", mcp_app)
106105
app.mount("/", rest_app)
106+
107+
FastAPIInstrumentor.instrument_app(app)

0 commit comments

Comments
 (0)