Comments (3)
👋 Thank you for the report! Unfortunately, this is a known problem in the "stack v2" implementation of the profiler on Python 3.12 (it does not occur in 3.11 or earlier). If you haven't tried the "legacy" stack collector (just omit the DD_PROFILING_STACK_V2_ENABLED
environment variable, or use DD_PROFILING_STACK_V2_ENABLED=false
), then please give it a shot and see if it offers you some relief.
If you're using "stack v2" for a reason (such as, avoiding the even greater number of segfaults originating from the cpython runtime for the legacy stack collector), then please ignore that advice. 😄
This may actually have been fixed in ddtrace 3.8.4. I'll be testing and working on a fix this upcoming week. I'll check back in on Math 15th or so to confirm whether that version actually has the fix. If you'd like to try the new release to see if it helps, please let me know how that goes!
from dd-trace-py.
Thanks, I indeed had DD_PROFILING_STACK_V2_ENABLED
and DD_PROFILING_EXPORT_LIBDD_ENABLED
enabled to mitigate segfaults from Python 3.11. Should I disable both of them or just STACK_V2?
from dd-trace-py.
👋 sorry, I'm not sure why I lost track of this thread.
If you're using stack v2 in order to mitigate segfaults, then unfortunately there's not much relief. Working on a fix.
from dd-trace-py.
Related Issues (20)
- The gRPC AIO server integration fails to set the gRPC status code for the span HOT 1
- Langchain patch assumes that you have langchain_community installed HOT 3
- Errors parsing DSNs when using both psycopg2 and psycopg
- Feature Request: [LLMObs] Support Automatic spans for `langchain_community`'s tools and retriever. HOT 3
- High CPU utilization causing kubernetes pod scaling with ddtrace > 2.3.0 HOT 2
- Cannot override the `service_name` for the `requests` integration HOT 1
- Boto3 Bedrock Client - Propogate Http x-datadog headers HOT 2
- Langchain v0.2+: ModuleNotFoundError: No module named 'langchain_community' HOT 2
- How to handle deprecation of `ddtrace.context.Context` when it is still present in public API? HOT 1
- Using ddtrace-run together with `gUnicorn` causes all `Spyne` SOAP endpoints to break. HOT 3
- Python 3.12 / ddtrace-run combined with psycopg3 AsyncConnectionPool leads to `TypeError: 'async for' requires an object with __aiter__ method, got Psycopg3TracedAsyncCursor` when consuming iterator HOT 1
- Add handled exceptions to error tracking HOT 4
- TypeError: unhashable type: 'dict' thrown from cache HOT 1
- TypeError: expected str, bytes or os.PathLike object, not Path HOT 1
- UnboundLocalError: cannot access local variable 'result' where it is not associated with a value HOT 1
- Add support for faststream HOT 1
- Type-checking rough-edges in LLM Observability HOT 3
- Add admission controller to documentation
- Connexion v3, Flask v3 integration with dd-trace fails: datadog context not present in ASGI request scope, trace middleware may be missing
- AttributeError: 'Path' object has no attribute 'parents' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-trace-py.