skillfed

opentelemetry-instrumentation-boto

OpenTelemetry Boto instrumentation

opentelemetry-instrumentation-boto v0.61b0 1.9M downloads/30d#3,422 on PyPI1,086
Permissive license Apache-2.0 Active released

What it is and what it does

This package integrates AWS SDK (Boto) calls into OpenTelemetry's distributed tracing framework. When installed and activated, it automatically wraps Boto requests to emit spans that capture the operation, service, and outcome, making AWS API calls visible in your observability pipeline alongside other instrumented services.

It depends on the core OpenTelemetry libraries (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions) and is designed to work alongside other OpenTelemetry instrumentation packages. The package is in beta status but actively maintained, supporting Python 3.9 through 3.14.

Use it for:

  • Trace AWS API calls in microservices to correlate them with other service requests in a distributed system.
  • Debug performance issues by viewing Boto request latency and errors as spans in your tracing backend.
  • Monitor which AWS services and operations your application uses by collecting and analyzing Boto span data.
  • Correlate application logs with AWS API calls using trace IDs propagated through OpenTelemetry.
  • Build cost attribution by tracking which code paths trigger which AWS API calls via span metadata.

Worth the install?

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

Adds distributed tracing to AWS SDK (Boto) calls by instrumenting requests with OpenTelemetry, capturing spans for observability.

Yes, if you use Boto and already run OpenTelemetry in your application. It adds observability to AWS SDK calls with minimal setup and no known vulnerabilities. The beta status and recent maintenance suggest it is production-ready for the tracing use case, though verify span coverage matches your needs.

Install

opentelemetry-instrumentation-boto on PyPI

pip

pip install opentelemetry-instrumentation-boto

uv

uv add opentelemetry-instrumentation-boto

poetry

poetry add opentelemetry-instrumentation-boto

Installing opentelemetry-instrumentation-boto

Before you install

Low friction install with three core runtime dependencies (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions). Active maintenance with recent releases; last commit 2026-08-14.

License in practice

Apache-2.0 permissive license allows use in most projects without significant restrictions.

Quickstart

pip install opentelemetry-instrumentation-boto

from opentelemetry.instrumentation.boto import BotoInstrumentor

BotoInstrumentor().instrument()

Requires Python 3.9 or later; assumes you have an OpenTelemetry tracer provider already configured in your application.

Verify before relying

  • Whether the package works with both boto and boto3, or only one of them.
  • What span attributes are captured for Boto requests (operation name, service, error details, etc.).
  • Whether automatic instrumentation requires any configuration beyond calling instrument().

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 3 — opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions
Maintenance actively maintained — 163 days since the last release
Last repo commit
First released
Downloads 1,933,854/month — #3,422 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: opentelemetry_instrumentation_boto-0.61b0-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.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

boto tracing instrumentationaws sdk opentelemetrydistributed tracing boto3aws request spansopentelemetry boto instrumentationtrace aws api callsboto observability
observabilityaws-sdktracing

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

acceldata-sdk

Acceldata SDK provides Python instrumentation…

permissive · top 15,000 on PyPI

aiobotocore-otel

Adds distributed tracing to aiobotocore AWS API…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-aiokafka

Adds distributed tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-boto3sqs

Adds distributed tracing to Boto3 SQS calls via…

permissive · top 5,000 on PyPI

opentracing

Provides the OpenTracing API for Python,…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-kafka-python

Adds distributed tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-sklearn

Adds distributed tracing instrumentation to…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-aws-lambda

Instruments AWS Lambda functions to emit…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-bedrock

Adds distributed tracing to AWS Bedrock API…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-redis

Adds distributed tracing to Redis client calls…

permissive · top 1,000 on PyPI