dd-trace-py
dd-trace-py copied to clipboard
Silent ddtrace crashes on 2.5 with FastAPI
This is a new issue created for the defect observed in #6701 for ddtrace 2.5.1
From @sheluchin in that thread:
Our observation was that very large requests would eventually cause the server to die without leaving any logs or stacktrace. When we uninstalled ddtrace, the same requests went through successfully without issue.
There were two things we tried independent of each other, both of which eliminated the server restart problem we were troubleshooting:
- Uninstalling ddtrace.
- The FastAPI endpoint we were calling made two database queries to retrieve the response data. Eliminating the first query by hardcoding the data it returned likewise allowed us to get a response from the server without causing a restart. This was something we tried as part of the troubleshooting process, but it's not a viable option for our implementation.
This issue has been automatically closed after a period of inactivity. If it's a feature request, it has been added to the maintainers' internal backlog and will be included in an upcoming round of feature prioritization. Please comment or reopen if you think this issue was closed in error.