skillfed

autodynatrace

Auto instrumentation for the OneAgent SDK

autodynatrace v2.1.1 96.5K downloads/30d#13,207 on PyPI64
Permissive license Abandoned released

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 autodynatrace

uv

uv add autodynatrace

poetry

poetry add autodynatrace

Installing 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

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 :: 3.6Programming Language :: Python :: Implementation :: CPythonTopic :: System :: Monitoring

Tags

dynatrace python instrumentationoneagent sdk auto-instrumentationpython application monitoringtransaction tracing pythoncode-level visibility instrumentationdynatrace apm wrapperpython distributed tracing
dynatrace-apmobservabilityabandoned

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

oneagent-sdk

Extends Dynatrace monitoring into Python…

permissive · top 15,000 on PyPI

dt

A Python client for the Dynatrace REST API with…

permissive · top 15,000 on PyPI

hud-sdk

Hud-sdk is a lightweight runtime sensor that…

unclear · top 15,000 on PyPI

opentelemetry-instrumentation-openai-agents

Adds distributed tracing to OpenAI Agents…

permissive · top 5,000 on PyPI

instana

Instana is a Python instrumentation package…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-asyncio

Adds distributed tracing and metrics to asyncio…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-crewai

Adds OpenTelemetry tracing to crewAI agentic…

permissive · top 5,000 on PyPI

ddtrace

ddtrace instruments Python applications to send…

permissive · top 1,000 on PyPI

openinference-instrumentation-portkey

Automatically instruments Portkey AI API calls…

permissive · top 15,000 on PyPI