-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Labels
bugIncorrect or flawed agent behavior.Incorrect or flawed agent behavior.needs-triageRequires initial review by maintainers.Requires initial review by maintainers.
Description
Transactions are not propagating from middleware to the route in FastAPI applications using newer versions of uvicorn or uvloop. This results in the name of the middleware appearing in APM (eg: WebTransaction/Function/main:CanonicalLogMiddleware) rather than the route, and no tracing of the route itself.
The issue is present when using uvicorn>0.35.0 or uvloop>0.21.0. Possibly relevant changes are:
- uvicorn 0.36.0 Support custom IOLOOPs Kludex/uvicorn#2435
- uvloop 0.22.0 Fix build for Python 3.14 MagicStack/uvloop#638
A full repro is available at https://github.com/tekumara/newrelic-bug
Metadata
Metadata
Assignees
Labels
bugIncorrect or flawed agent behavior.Incorrect or flawed agent behavior.needs-triageRequires initial review by maintainers.Requires initial review by maintainers.