dd-trace-py
dd-trace-py copied to clipboard
Datadog Python APM Client
## PR Summary This small PR migrates from `unittest.assertEquals` to `unittest.assertEqual` which is deprecated from Python2.7: ```python DeprecationWarning: Please use assertEqual instead. ```
Allow users to omit any traces they want by returning none in the user_span_processor method. Motivation: I am trying to prevent some auto traces from cluttering my Datadog observability dashboards....
Makes sure bedrock converse `toolResult` input content blocks are properly annotated on input to the LLM call. We override the `role` field to explicitly be "Tool Result". Before After When...
We disable sccache in GitLab base venv building to save some extra time. Because we now use cached artifacts and incremental builds, the use of sccache in those jobs has...
- Remove Hooks class usage from BaseContextProvider and Tracer - Replace hook-based callbacks with core event dispatcher system - Optimize _update_active logic to reduce redundant finished() checks - Cache span._local_root...
- Resolves circular imports between span and sampling modules (span.py imports functions from sampling.py and sampling.py imports types from span.py) - Replaces Python2 typing with Python3 typing - Adds typing...
CI: Enable incremental build (build cache) in hatch tests ## Checklist - [ ] PR author has checked that all the criteria below are met - The PR description includes...
# Bug Report I was just looking through the aiohttp integration code and thought I'd provide some feedback that would make your code more robust. ## Server - [ ]...
## Checklist - [ ] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description...
### Tracer Version(s) 2.21.6 ### Python Version(s) 3.13.2 ### Pip Version(s) pip 25.1.1 ### Bug Report ## Summary The ddtrace Kafka instrumentation in [`ddtrace.contrib.internal.kafka.patch._get_cluster_id()`](https://github.com/DataDog/dd-trace-py/blob/2e13f18c0a2f9900650bc0bda7f5adc2c66ca2fa/ddtrace/contrib/internal/kafka/patch.py#L333) calls `list_topics()` without a timeout parameter,...