opentelemetry-instrumentation-boto
OpenTelemetry Boto instrumentation
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-botouv
uv add opentelemetry-instrumentation-botopoetry
poetry add opentelemetry-instrumentation-botoInstalling 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
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
acceldata-sdkAcceldata SDK provides Python instrumentation…
permissive · top 15,000 on PyPI
aiobotocore-otelAdds distributed tracing to aiobotocore AWS API…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-aiokafkaAdds distributed tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-boto3sqsAdds distributed tracing to Boto3 SQS calls via…
permissive · top 5,000 on PyPI
opentracingProvides the OpenTracing API for Python,…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-kafka-pythonAdds distributed tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-sklearnAdds distributed tracing instrumentation to…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-aws-lambdaInstruments AWS Lambda functions to emit…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-bedrockAdds distributed tracing to AWS Bedrock API…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-redisAdds distributed tracing to Redis client calls…
permissive · top 1,000 on PyPI