skillfed

aiobotocore-otel

OpenTelemetry aiobotocore instrumentation

aiobotocore-otel v1.7.0 142.4K downloads/30d#11,210 on PyPI6
Permissive license Active released

What it is and what it does

aiobotocore-otel is an OpenTelemetry instrumentation plugin for aiobotocore, the async AWS SDK client library. It automatically captures and exports trace data for all AWS API calls made through aiobotocore, including request attributes, response metadata, and errors. This enables distributed tracing across microservices that use aiobotocore for AWS interactions.

The package is a fork adapted to work with aiobotocore's async/await patterns. It integrates with the OpenTelemetry ecosystem (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, and opentelemetry-propagator-aws-xray) to emit spans that can be exported to any OpenTelemetry-compatible backend. Once installed and initialized, it requires no code changes to your aiobotocore calls—instrumentation happens transparently.

Use it for:

  • Trace async AWS API calls in serverless functions or microservices to debug latency and failures across service boundaries.
  • Export aiobotocore spans to observability platforms for centralized monitoring of AWS SDK usage.
  • Correlate aiobotocore requests with application logs and metrics using trace IDs propagated by OpenTelemetry.
  • Audit and monitor which AWS services and operations are called by async Python applications without modifying application code.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds distributed tracing to aiobotocore AWS API calls via OpenTelemetry, capturing request/response metadata and propagating trace context across services.

Yes, if you use aiobotocore in an async application and need distributed tracing. The package is actively maintained, has no known vulnerabilities, low install friction, and integrates cleanly with the OpenTelemetry ecosystem. It is production-stable and supports current Python versions. Install it if observability of AWS SDK calls is a requirement; skip it if you have no tracing infrastructure or do not use aiobotocore.

Install

aiobotocore-otel on PyPI

pip

pip install aiobotocore-otel

uv

uv add aiobotocore-otel

poetry

poetry add aiobotocore-otel

Installing aiobotocore-otel

Before you install

Low install friction with a pure-Python wheel. Active maintenance with a recent release. Supports current Python versions. Depends on the OpenTelemetry ecosystem and aiobotocore itself, all standard instrumentation packages.

License in practice

Licensed under Apache Software License (permissive). No restrictions on commercial or private use; you may modify and redistribute under the same terms.

Quickstart

pip install aiobotocore-otel

from opentelemetry import trace
from opentelemetry.instrumentation.aiobotocore import AiobotocoreInstrumentor

AiobotocoreInstrumentor().instrument()
# Now aiobotocore calls are automatically traced

Requires Python >=3.10. Assumes an active OpenTelemetry SDK and exporter are already configured in your application.

Verify before relying

  • Whether the package works with all aiobotocore versions or has specific version constraints beyond what the fact sheet shows.
  • Whether trace context propagation to downstream services works out-of-the-box or requires additional setup.
  • Performance overhead of instrumentation on high-volume async workloads.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 5 — aiobotocore, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-propagator-aws-xray, opentelemetry-semantic-conventions
Maintenance actively maintained — 68 days since the last release
Last repo commit
First released
Downloads 142,398/month — #11,210 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aiobotocore_otel-1.7.0-py3-none-any.whl

Development Status :: 5 - Production/StableIntended 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 aiobotocore tracingaws sdk async instrumentationdistributed tracing boto asyncopentelemetry aws instrumentationaiobotocore observabilitytrace aws api calls asyncotel instrumentation aiobotocore
observabilityaws-instrumentationasync-tracing

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-instrumentation-boto

Adds distributed tracing to AWS SDK (Boto)…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-botocore

Adds distributed tracing to AWS SDK calls made…

permissive · top 5,000 on PyPI

opentelemetry-sdk-extension-aws

Provides OpenTelemetry SDK components to make…

permissive · top 5,000 on PyPI

elastic-opentelemetry

Elastic's customized distribution of…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-bedrock

Adds distributed tracing to AWS Bedrock API…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-qdrant

Adds distributed tracing to Qdrant vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-aiohttp-client

Adds distributed tracing to HTTP requests made…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-elasticsearch

Adds distributed tracing to Elasticsearch…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-lancedb

Adds distributed tracing instrumentation for…

permissive · top 5,000 on PyPI

oneagent-sdk

Extends Dynatrace monitoring into Python…

permissive · top 15,000 on PyPI