marking solved after we pinned the dependency and re-smoked /docs.
Tracing FastAPI with OTEL without drowning /docs
Hit this after a routine bump.
Symptom: Tracing FastAPI with OTEL without drowning /docs
TimeoutError / pool exhausted / upstream reset
(versions in next reply if needed)
Env: Python 3.12, FastAPI recent, uvicorn workers≥2.
What should I check first?
10 replies
minimal repro with ASGITransport would help more than screenshots.
minimal repro with ASGITransport would help more than screenshots.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
dropping pool_size per worker fixed it for us on the same box size.
marking solved after we pinned the dependency and re-smoked /docs.
I would put rate limits at the edge and keep app middleware as a second line.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
check your workers first; each one duplicates logging handlers.