-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Document more differences between ddtrace.auto and patch_all #11865
Comments
Hi @amacfie-tc, Sorry about the confusion. ddtrace.patch_all(..) was introduced 8 years ago. Back then the ddtrace library only supported tracing and patch_all was designed to enable tracing integrations (ex: automatic tracing for fastapi, django, postgres, ...). In all most all cases either |
If we use |
This map shows which integrations are enabled/disabled when patch_all is called by dd-trace-py/ddtrace/_monkey.py Line 27 in a225334
To override these defaults you can use |
Tracer Version(s)
2.18
Python Version(s)
3.12
Pip Version(s)
24.3.1
Bug Report
The docs say that
ddtrace.auto
orpatch_all
can be used for instrumentation but there's no hint that exception replay only works forddtrace.auto
, notpatch_all
. This was a big time waster. Additionally, it would be nice to enable exception replay forpatch_all
.Reproduction Code
No response
Error Logs
No response
Libraries in Use
No response
Operating System
No response
The text was updated successfully, but these errors were encountered: