opentelemetry-instrumentation-botocore
OpenTelemetry Botocore instrumentation
Decision gist · record as of 2026-08-14
Yes, if you are already using OpenTelemetry in your application and need to trace AWS SDK calls. The package is actively maintained, has no known vulnerabilities, and integrates cleanly into the OpenTelemetry ecosystem. It is still in beta (0.65b0), so expect occasional API changes; production use is reasonable but monitor release notes. Skip it if you are not using OpenTelemetry or do not need AWS call tracing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; assumes an active OpenTelemetry tracer provider is configured in your application.
- Low friction installation with a pure-Python wheel.
- Actively maintained with a recent release (29 days old) and steady commit activity.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required but no copyleft obligations.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,315,583 downloads/mo, #1,288 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-botocore
from opentelemetry.instrumentation.botocore import BotocoreInstrumentor
BotocoreInstrumentor().instrument()- Whether Bedrock tracing metrics/events work for all model families or only the explicitly listed subset (Titan, Nova, Claude).
- Whether tool-call tracing for InvokeModel APIs extends to models beyond Nova and Claude 3+.
- Performance overhead of instrumentation on high-volume AWS SDK call workloads.
- Compatibility with aiobotocore async workflows and any async-specific tracing behavior.
What it is and what it does
This package hooks into botocore and aiobotocore to emit OpenTelemetry spans for every AWS API call your application makes. It integrates with the OpenTelemetry ecosystem—using opentelemetry-api, opentelemetry-instrumentation, and opentelemetry-semantic-conventions—to standardize how AWS request traces are recorded and exported to observability backends.
It includes specialized extensions for several AWS services: DynamoDB, Lambda, SNS, and SQS get automatic semantic enrichment, while Bedrock Runtime gets GenAI semantic conventions for Converse, ConverseStream, InvokeModel, and InvokeModelWithResponseStream calls. The Bedrock extension supports tracing for Amazon Titan, Amazon Nova, and Anthropic Claude models, with tool-call tracing for Nova and Claude 3+. Once installed and activated, instrumentation happens transparently via wrapt.
Use it for
- Trace all DynamoDB operations in a microservice to identify slow queries or hot partitions in your observability backend.
- Monitor Lambda invocations triggered by your application and correlate them with parent traces across service boundaries.
- Capture SNS/SQS message publish and receive operations to debug asynchronous workflows and message delivery latency.
- Instrument Bedrock API calls to track GenAI model invocations, token usage, and tool calls in a centralized trace store.
- Debug AWS SDK errors and timeouts by examining detailed span attributes and events without modifying application code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using OpenTelemetry in your application and need to trace AWS SDK calls.
The package is actively maintained, has no known vulnerabilities, and integrates cleanly into the OpenTelemetry ecosystem. It is still in beta (0.65b0), so expect occasional API changes; production use is reasonable but monitor release notes. Skip it if you are not using OpenTelemetry or do not need AWS call tracing.
Install
opentelemetry-instrumentation-botocore on PyPI
Before you install
Low friction installation with a pure-Python wheel. Actively maintained with a recent release (29 days old) and steady commit activity. Depends on five core OpenTelemetry packages, all standard in the observability ecosystem.
Requires Python 3.10 or later; assumes an active OpenTelemetry tracer provider is configured in your application.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required but no copyleft obligations.
Quickstart
pip install opentelemetry-instrumentation-botocore
from opentelemetry.instrumentation.botocore import BotocoreInstrumentor
BotocoreInstrumentor().instrument()
Verify before relying
- Whether Bedrock tracing metrics/events work for all model families or only the explicitly listed subset (Titan, Nova, Claude).
- Whether tool-call tracing for InvokeModel APIs extends to models beyond Nova and Claude 3+.
- Performance overhead of instrumentation on high-volume AWS SDK call workloads.
- Compatibility with aiobotocore async workflows and any async-specific tracing behavior.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesopentelemetry-apiopentelemetry-instrumentationopentelemetry-propagator-aws-xrayopentelemetry-semantic-conventionswrapt |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,315,583 / month, #1,288 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: opentelemetry_instrumentation_botocore-0.65b0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “aws sdk tracing”
- opentelemetry-instrumentation-botocoreAdds distributed tracing to AWS SDK calls made through botocore and…
- opentelemetry-instrumentation-botoAdds distributed tracing to AWS SDK (Boto) calls by instrumenting…
- aws-xray-sdkRecords and sends trace data from Python applications to AWS X-Ray…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also aiobotocore-otel · openinference-instrumentation-bedrock · opentelemetry-instrumentation-boto3sqs · aiomoto · opentelemetry-instrumentation-boto · kedro-telemetry · opentelemetry-instrumentation-aio-pika · opentelemetry-instrumentation-elasticsearch · aws-xray-sdk · opentelemetry-instrumentation-aiokafka