oneagent-sdk
Dynatrace OneAgent SDK for Python
Decision gist · record as of 2026-08-14
Yes, if you already run Dynatrace OneAgent and need Python-level request tracing. The SDK is production-stable, permissively licensed, and actively maintained. Install friction is moderate due to platform-specific wheels and C/C++ dependencies, but this is expected for a monitoring SDK. No known vulnerabilities. Not suitable for serverless environments (AWS Lambda); use OpenTelemetry instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires CPython 3.8 or newer (3.9+ recommended); Linux must be manylinux1-compatible (not Alpine); Windows requires x86 or x86-64 architecture; Dynatrace OneAgent version ≥1.251 (C/C++) required.
- Medium install friction due to platform-specific wheels (Linux i686/x86_64, Windows 32/64-bit); requires pip 8.1.0 or newer and bundled C/C++ SDK dependencies.
- Last release was 219 days ago; repository is active but aging.
License · maintenance · safety
Apache License 2.0 (permissive) — Apache License 2.0 (permissive) allows commercial and private use with minimal restrictions; suitable for most production deployments.
last release 2026-01-07 (219 days) · last repo commit 2026-01-07 · 28 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 124,681 downloads/mo, #11,857 on PyPI
Alternatives
Verify before relying
pip install oneagent-sdk
import oneagent
oneagent_sdk = oneagent.get_sdk()
tracer = oneagent_sdk.trace_incoming_web_request('GET', 'https://example.com')- Whether the SDK automatically selects between C/C++ wrapper and Python code module implementations at runtime.
- Support status for Python 3.8 beyond current deprecation warning timeline.
- Compatibility with async/await frameworks beyond in-process asynchronous execution tracing.
- Performance overhead of tracing on high-throughput applications.
What it is and what it does
The Dynatrace OneAgent SDK for Python is an instrumentation library that integrates Python applications with Dynatrace's monitoring platform. It wraps the OneAgent SDK for C/C++ (bundled with each release) and provides Python-friendly APIs to trace application behavior at the request level, including remote calls, SQL queries, incoming and outgoing HTTP requests, custom services, and message queues. The SDK automatically switches to a native Python code module implementation if Dynatrace's OneAgent is injected into the process.
The package is designed for developers who already run Dynatrace OneAgent in their environment and need to extend monitoring visibility into Python-specific code paths. It requires CPython 3.8 or newer, manylinux1-compatible Linux or Windows x86/x86-64 systems, and a compatible Dynatrace OneAgent version. The SDK provides context propagation via W3C trace context and supports forked child processes on Linux, making it suitable for both traditional and containerized deployments.
Use it for
- Trace custom Python service methods and remote procedure calls to correlate them with Dynatrace's end-to-end transaction monitoring.
- Instrument SQL database queries to capture execution time and query details within the broader request context.
- Capture incoming and outgoing HTTP requests to map service dependencies and detect performance bottlenecks.
- Tag requests with custom attributes for business-level correlation and filtering in Dynatrace dashboards.
- Monitor asynchronous task execution and message queue operations to track distributed work across services.
- Integrate with forked child processes on Linux to maintain trace continuity across process boundaries.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you already run Dynatrace OneAgent and need Python-level request tracing.
The SDK is production-stable, permissively licensed, and actively maintained. Install friction is moderate due to platform-specific wheels and C/C++ dependencies, but this is expected for a monitoring SDK. No known vulnerabilities. Not suitable for serverless environments (AWS Lambda); use OpenTelemetry instead.
Install
oneagent-sdk on PyPI
Before you install
Medium install friction due to platform-specific wheels (Linux i686/x86_64, Windows 32/64-bit); requires pip 8.1.0 or newer and bundled C/C++ SDK dependencies. Last release was 219 days ago; repository is active but aging.
Requires CPython 3.8 or newer (3.9+ recommended); Linux must be manylinux1-compatible (not Alpine); Windows requires x86 or x86-64 architecture; Dynatrace OneAgent version ≥1.251 (C/C++) required.
License in practice
Apache License 2.0 (permissive) allows commercial and private use with minimal restrictions; suitable for most production deployments.
Quickstart
pip install oneagent-sdk
import oneagent
oneagent_sdk = oneagent.get_sdk()
tracer = oneagent_sdk.trace_incoming_web_request('GET', 'https://example.com')
Verify before relying
- Whether the SDK automatically selects between C/C++ wrapper and Python code module implementations at runtime.
- Support status for Python 3.8 beyond current deprecation warning timeline.
- Compatibility with async/await frameworks beyond in-process asynchronous execution tracing.
- Performance overhead of tracing on high-throughput applications.
Package facts
| License | Apache License 2.0 permissive |
| Python support | Supports the current Python release !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Aging 219 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 124,681 / month, #11,857 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI ApprovedLicense :: OSI Approved :: Apache Software LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPythonTopic :: System :: Monitoring |
Evidence: oneagent_sdk-1.5.2.20260107.153442-py2.py3-none-manylinux1_i686.whl; oneagent_sdk-1.5.2.20260107.153442-py2.py3-none-manylinux1_x86_64.whl; oneagent_sdk-1.5.2.20260107.153442-py2.py3-none-win32.whl; oneagent_sdk-1.5.2.20260107.153442-py2.py3-none-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dynatrace oneagent integration”
- oneagent-sdkExtends Dynatrace monitoring into Python applications by providing…
- autodynatraceAutodynatrace wraps the Dynatrace OneAgent SDK to automatically…
- dtA Python client for the Dynatrace REST API with type hints and a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also autodynatrace · dt · opentelemetry-instrumentation-openai-agents · aiobotocore-otel · ddtrace · opentelemetry-instrumentation-mcp · opentelemetry-instrumentation-boto · opentelemetry-instrumentation-ollama · opentelemetry-instrumentation-django · opencensus-ext-flask