You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/__init__.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -222,7 +222,7 @@ class FastAPIInstrumentor(BaseInstrumentor):
222
222
223
223
@staticmethod
224
224
definstrument_app(
225
-
app: fastapi.FastAPI,
225
+
app,
226
226
server_request_hook: ServerRequestHook=None,
227
227
client_request_hook: ClientRequestHook=None,
228
228
client_response_hook: ClientResponseHook=None,
@@ -238,7 +238,7 @@ def instrument_app(
238
238
"""Instrument an uninstrumented FastAPI application.
239
239
240
240
Args:
241
-
app: The ASGI application callable to forward requests to.
241
+
app: The fastapi ASGI application callable to forward requests to.
242
242
server_request_hook: Optional callback which is called with the server span and ASGI
243
243
scope object for every incoming request.
244
244
client_request_hook: Optional callback which is called with the internal span, and ASGI
0 commit comments