autodynatrace
Auto instrumentation for the OneAgent SDK
What it is and what it does
Autodynatrace is a wrapper around the oneagent-sdk that automates instrumentation of Python applications to send transaction traces and code-level visibility data to Dynatrace monitoring systems. It supports two modes: environment-variable-based instrumentation with no code changes via AUTOWRAPT_BOOTSTRAP, or semi-automatic instrumentation by importing the module. The package handles web frameworks, async clients, message queues, databases, and gRPC clients through built-in wrappers.
The package depends on autowrapt, oneagent-sdk, six, and wrapt to hook into application code at runtime. Configuration is managed through environment variables for header capture, log levels, virtual host naming, and per-library instrumentation toggles. However, the repository is archived and abandoned, with the last commit on 2024-12-02 and no active maintenance—this means no new features, security patches, or compatibility updates are being released.
Use it for:
- Instrument a Django application for Dynatrace APM without modifying code by setting AUTOWRAPT_BOOTSTRAP.
- Trace database queries in SQLAlchemy or psycopg2 applications automatically to identify slow queries.
- Monitor Celery task execution and RabbitMQ message handling to track distributed transaction flow.
- Capture HTTP request/response headers in FastAPI or Flask applications for transaction context.
- Instrument forked child processes in gunicorn or uwsgi by enabling AUTODYNATRACE_FORKABLE.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Autodynatrace wraps the Dynatrace OneAgent SDK to automatically instrument Python applications for transaction tracing and code-level visibility with minimal code changes.
No—do not install for new projects. The repository is archived and abandoned with no active maintenance since 2024-12-02. While permissively licensed and low-friction to install, the lack of vendor support and no security updates make it unsuitable for production use. Consider Dynatrace's official instrumentation methods or actively maintained alternatives instead.
Install
autodynatrace on PyPI
pip
pip install autodynatraceuv
uv add autodynatracepoetry
poetry add autodynatraceInstalling autodynatrace
Before you install
Low install friction with four lightweight runtime dependencies. However, the repository is archived and marked abandoned, with the last commit on 2024-12-02 and no active maintenance—a significant concern for long-term reliability and security updates.
License in practice
Licensed under Apache Software License (permissive), which allows commercial and private use with minimal restrictions, though the abandoned status means no vendor support or license updates are forthcoming.
Quickstart
pip install autodynatrace
# Option 1: Set environment variable
export AUTOWRAPT_BOOTSTRAP=autodynatrace
# Option 2: Import in code
import autodynatrace
Requires Python >=3.6; oneagent-sdk must be configured to connect to a Dynatrace instance.
Verify before relying
- Whether the oneagent-sdk dependency remains actively maintained and compatible with current Dynatrace services
- Compatibility with Python versions beyond 3.6 despite classifier listing 3.6 specifically
- Whether instrumentation for all listed technologies remains functional post-abandonment
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — autowrapt, oneagent-sdk, six, wrapt |
| Maintenance | abandoned — 807 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 96,550/month — #13,207 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: autodynatrace-2.1.1-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
oneagent-sdkExtends Dynatrace monitoring into Python…
permissive · top 15,000 on PyPI
dtA Python client for the Dynatrace REST API with…
permissive · top 15,000 on PyPI
hud-sdkHud-sdk is a lightweight runtime sensor that…
unclear · top 15,000 on PyPI
opentelemetry-instrumentation-openai-agentsAdds distributed tracing to OpenAI Agents…
permissive · top 5,000 on PyPI
instanaInstana is a Python instrumentation package…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-asyncioAdds distributed tracing and metrics to asyncio…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-crewaiAdds OpenTelemetry tracing to crewAI agentic…
permissive · top 5,000 on PyPI
ddtraceddtrace instruments Python applications to send…
permissive · top 1,000 on PyPI
openinference-instrumentation-portkeyAutomatically instruments Portkey AI API calls…
permissive · top 15,000 on PyPI