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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Fixed resolving route names for routers registered via include_router() on FastAPI 0.116+ leading to AttributeError getting raised on every request. The internal route name resolution now also handles _IncludedRouter and recurses into the included router's own routes so the Prometheus label reflects the leaf endpoint. Thanks to @adeebmirza in #371 for fixing it.
Fixed hitting mounts with slash redirection collecting wrong handler name. Thanks to @lbonn for raising and fixing this issue in #369.