Comments (1)
Actually it mostly depends on the instrumented code. If the tracer.wrap()
isn't added to a function that is already part of a trace, some fields like the service
may not have a value. In that case the agent is going to drop that trace.
Here I think that the wrap()
decorator is working correctly as expected. What we did (and what we're continuing to do) is providing better defaults in general.
Because the issue here is not completely related to the wrap API, I'm going to close that issue for the moment! Thanks for reporting that (and sorry for a so late answer).
from dd-trace-py.
Related Issues (20)
- 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 2
- 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 2
- 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 HOT 3
- Connexion v3, Flask v3 integration with dd-trace fails: datadog context not present in ASGI request scope, trace middleware may be missing HOT 3
- AttributeError: 'Path' object has no attribute 'parents' HOT 1
- loguru patch: ensure only dd info is extracted to top level HOT 3
- langchain: Non-dict inputs in LCEL chains break the instrumentation HOT 5
- Unable to export events due to invalid path value from events. HOT 2
- Clarify documentation for current_root_span HOT 1
- ddtrace 1.12.0 inaccurate versions HOT 2
- confluent-kafka distributed tracing HOT 1
- Wrong content-type for code provenance data HOT 1
- ddtrace loader fails execute modules in FastAPI app served by Uvicorn HOT 2
- [docs] Update docs for snapshot tests
- All logs are being sending as error not info HOT 2
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.