aws-opentelemetry-distro
AWS OpenTelemetry Python Distro
What it is and what it does
This package is AWS's curated distribution of OpenTelemetry for Python, bundling the core OpenTelemetry libraries with AWS-specific exporters (OTLP over gRPC and HTTP) and instrumentation for dozens of popular frameworks and libraries. It simplifies setup by pre-selecting compatible versions and AWS best practices, rather than requiring manual assembly of individual OpenTelemetry components.
The package enables auto-instrumentation of Python applications—meaning traces, metrics, and logs are automatically collected from supported frameworks like Django, FastAPI, Flask, and AWS services like Lambda, SQS, and botocore—without requiring manual span creation in application code. It's designed for developers who want observability integrated into their Python applications with minimal boilerplate, particularly those already using AWS infrastructure.
Use it for:
- Auto-instrument a FastAPI or Flask application to send traces to AWS X-Ray or an OpenTelemetry collector without manual span code.
- Monitor AWS Lambda function execution with automatic instrumentation of boto3 and botocore calls.
- Collect traces from a Celery task queue or Kafka consumer application for distributed tracing across microservices.
- Enable observability for a Django application with automatic database and HTTP instrumentation.
- Export application telemetry to an OTLP-compatible backend (e.g., Datadog, Honeycomb, or self-hosted collector).
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides AWS-integrated OpenTelemetry auto-instrumentation for Python applications, bundling OpenTelemetry core libraries and AWS-specific exporters and instrumentation plugins.
Yes, if you are building Python applications on AWS or using OpenTelemetry and want a pre-assembled, AWS-endorsed distribution. The package is actively maintained, has no known vulnerabilities, low install friction, and bundles the instrumentation you'd otherwise assemble manually. Not necessary if you prefer to hand-pick individual OpenTelemetry components or are not using AWS services.
Install
aws-opentelemetry-distro on PyPI
pip
pip install aws-opentelemetry-distrouv
uv add aws-opentelemetry-distropoetry
poetry add aws-opentelemetry-distroInstalling aws-opentelemetry-distro
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a recent release (22 days old) and current commit activity. Requires Python 3.10 or later.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.
Quickstart
pip install aws-opentelemetry-distro
from opentelemetry.distro import configure_distro
configure_distro()
Requires Python 3.10 or later; intended for auto-instrumentation of Python applications, not standalone use.
Verify before relying
- Whether the 63 runtime dependencies are all optional or if some are required for basic functionality.
- Whether auto-instrumentation works without additional environment configuration or setup beyond import.
- Performance overhead of instrumentation on typical application workloads.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 63 — bytecode, cachetools, opentelemetry-api, opentelemetry-distro, opentelemetry-exporter-otlp-proto-common, opentelemetry-exporter-otlp-proto-grpc, opentelemetry-exporter-otlp-proto-http, opentelemetry-instrumentation-aio-pika, opentelemetry-instrumentation-aiohttp-client, opentelemetry-instrumentation-aiokafka, opentelemetry-instrumentation-aiopg, opentelemetry-instrumentation-asgi, opentelemetry-instrumentation-asyncpg, opentelemetry-instrumentation-aws-lambda, opentelemetry-instrumentation-boto3sqs, opentelemetry-instrumentation-botocore, opentelemetry-instrumentation-cassandra, opentelemetry-instrumentation-celery, opentelemetry-instrumentation-confluent-kafka, opentelemetry-instrumentation-dbapi, opentelemetry-instrumentation-django, opentelemetry-instrumentation-falcon, opentelemetry-instrumentation-fastapi, opentelemetry-instrumentation-flask, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-httpx, opentelemetry-instrumentation-jinja2, opentelemetry-instrumentation-kafka-python, opentelemetry-instrumentation-logging, opentelemetry-instrumentation-mysql |
| Maintenance | actively maintained — 22 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,467,075/month — #2,613 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_opentelemetry_distro-0.19.0-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
opentelemetry-container-distroProvides an OpenTelemetry distribution that…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-aws-lambdaInstruments AWS Lambda functions to emit…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-pikaAdds distributed tracing to pika (RabbitMQ…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-boto3sqsAdds distributed tracing to Boto3 SQS calls via…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-aio-pikaAdds distributed tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-botoAdds distributed tracing to AWS SDK (Boto)…
permissive · top 5,000 on PyPI
opentelemetry-contrib-instrumentationsA meta-package that installs all OpenTelemetry…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-fastapiAutomatically instruments FastAPI applications…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-kafka-pythonAdds distributed tracing instrumentation to…
permissive · top 5,000 on PyPI