skillfed

aws-opentelemetry-distro

AWS OpenTelemetry Python Distro

aws-opentelemetry-distro v0.19.0 3.5M downloads/30d#2,613 on PyPI12
Permissive license Apache-2.0 Active released

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-distro

uv

uv add aws-opentelemetry-distro

poetry

poetry add aws-opentelemetry-distro

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

opentelemetry aws instrumentationauto-instrumentation python awsdistributed tracing aws pythonopentelemetry distro awsobservability instrumentation awspython application tracing aws
observabilityaws-nativeinstrumentation

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

opentelemetry-container-distro

Provides an OpenTelemetry distribution that…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-aws-lambda

Instruments AWS Lambda functions to emit…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-pika

Adds distributed tracing to pika (RabbitMQ…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-boto3sqs

Adds distributed tracing to Boto3 SQS calls via…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-aio-pika

Adds distributed tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-boto

Adds distributed tracing to AWS SDK (Boto)…

permissive · top 5,000 on PyPI

opentelemetry-contrib-instrumentations

A meta-package that installs all OpenTelemetry…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-fastapi

Automatically instruments FastAPI applications…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-kafka-python

Adds distributed tracing instrumentation to…

permissive · top 5,000 on PyPI