ddtrace
Datadog APM client library
Install
ddtrace on PyPI
pip
pip install ddtraceuv
uv add ddtracepoetry
poetry add ddtracePackage facts
| License | LICENSE.BSD3 (permissive) |
| Python support | supports the current Python release (<3.15,>=3.9) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 4 — bytecode, envier, opentelemetry-api, wrapt |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: ddtrace-4.13.1-cp310-cp310-macosx_14_0_arm64.whl; ddtrace-4.13.1-cp310-cp310-macosx_14_0_x86_64.whl; ddtrace-4.13.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ddtrace-4.13.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ddtrace-4.13.1-cp310-cp310-musllinux_1_2_aarch64.whl; ddtrace-4.13.1-cp310-cp310-musllinux_1_2_x86_64.whl; ddtrace-4.13.1-cp310-cp310-win32.whl; ddtrace-4.13.1-cp310-cp310-win_amd64.whl; ddtrace-4.13.1-cp311-cp311-macosx_14_0_arm64.whl; ddtrace-4.13.1-cp311-cp311-macosx_14_0_x86_64.whl; ddtrace-4.13.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ddtrace-4.13.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ddtrace-4.13.1-cp311-cp311-musllinux_1_2_aarch64.whl; ddtrace-4.13.1-cp311-cp311-musllinux_1_2_x86_64.whl; ddtrace-4.13.1-cp311-cp311-win32.whl; ddtrace-4.13.1-cp311-cp311-win_amd64.whl; ddtrace-4.13.1-cp311-cp311-win_arm64.whl; ddtrace-4.13.1-cp312-cp312-macosx_14_0_arm64.whl; ddtrace-4.13.1-cp312-cp312-macosx_14_0_x86_64.whl; ddtrace-4.13.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
About ddtrace
from the package's own PyPI description — quoted content, verbatim
ddtrace
CircleCI (image) PypiVersions (image) Pyversions (image)
<img align="right" src="https://user-images.githubusercontent.com/6321485/167082083-53f6e48f-1843-4708-9b98-587c94f7ddb3.png" alt="bits python" width="200px"/>
This library powers Distributed Tracing, Continuous Profiling, Error Tracking, Test Optimization, Deployment Tracking, Code Hotspots, Dynamic Instrumentation, and more.
To get started with tracing, check out the [product documentation][setup docs] or the [glossary][visualization docs].
For...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Datadog's APM client library that instruments Python applications to enable distributed tracing, continuous profiling, error tracking, and deployment monitoring integrated with the Datadog platform.
Medium install friction with precompiled wheels across Python 3.9–3.14 and multiple platforms (macOS, Linux, Windows, including ARM64). Four runtime dependencies (bytecode, envier, opentelemetry-api, wrapt) are lightweight. Active maintenance with a release on 2026-08-13 and 648 GitHub stars.
Licensed under BSD 3-Clause (permissive), allowing commercial and private use with minimal restrictions; users must include a copy of the license and disclaimer.
Usage
pip install ddtrace
import ddtrace
from ddtrace import tracer
with tracer.trace('my_operation'):
pass
Requires Python 3.9–3.14; Datadog agent or backend endpoint must be configured via environment variables (e.g., DD_TRACE_AGENT_URL) for traces to be sent.
Verdict: Production-ready, actively maintained APM library from Datadog with no known vulnerabilities, broad platform coverage, and permissive licensing. Install friction is moderate due to compiled extensions, but prebuilt wheels mitigate most friction. Suitable for teams already using Datadog or evaluating comprehensive observability integration.
Needs verification
- Whether bytecode, envier, opentelemetry-api, and wrapt versions are pinned or have known compatibility constraints.
- Performance overhead of instrumentation in high-throughput applications.
- Compatibility with async frameworks (asyncio, aiohttp, FastAPI) beyond the fact sheet's scope.
Similar packages
permissive · top 1,000 on PyPI
nvidia-nvtxunclear · top 1,000 on PyPI
nvidia-nvtx-cu12permissive · top 1,000 on PyPI
datadog-api-clientpermissive · top 1,000 on PyPI
py-spypermissive · top 1,000 on PyPI
opentelemetry-instrumentation-asgipermissive · top 1,000 on PyPI
opencensuspermissive · top 1,000 on PyPI
opentelemetry-instrumentation-wsgipermissive · top 1,000 on PyPI
aws-xray-sdkpermissive · top 1,000 on PyPI
wandbpermissive · top 1,000 on PyPI