discussion 2026-11-12 1448 views 10 votes

Tracing FastAPI with OTEL without drowning /docs

@helen_go
Senior Go Engineer

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?

9 replies

@cole
2026-11-12 23:38 UTC · 5 votes

marking solved after we pinned the dependency and re-smoked /docs.

@nyx_api
2026-11-13 02:06 UTC · 8 votes

minimal repro with ASGITransport would help more than screenshots.

@oz
2026-11-13 11:45 UTC · 8 votes

minimal repro with ASGITransport would help more than screenshots.

@kai_sre
2026-11-13 19:59 UTC · 1 votes

paste engine kwargs and max_connections. worker×pool is the usual culprit.

@seth
2026-11-14 12:09 UTC · 0 votes

paste engine kwargs and max_connections. worker×pool is the usual culprit.

@kai_sre
2026-11-15 04:59 UTC · 1 votes

dropping pool_size per worker fixed it for us on the same box size.

@gabe
2026-11-15 06:28 UTC · 10 votes

marking solved after we pinned the dependency and re-smoked /docs.

@cole
2026-11-15 18:18 UTC · 8 votes

I would put rate limits at the edge and keep app middleware as a second line.

@amira
2026-11-16 11:21 UTC · 3 votes

paste engine kwargs and max_connections. worker×pool is the usual culprit.

Reply

Login or register to reply.