FastAPI/ASGI auto-instrumentation.
Best-effort helpers that activate OTEL request spans when the optional instrumentation dependencies are installed.
Functions¶
instrument_fastapi(app: FastAPI, *, enabled: bool = True) ‑> boolEnable OpenTelemetry auto-instrumentation for FastAPI.
Returns True when instrumentation was applied, otherwise False.