openinference-instrumentation-bedrock
OpenInference Bedrock Instrumentation
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained (release 7 days ago), has no known vulnerabilities, carries a permissive Apache-2.0 license, and solves a real observability gap for Bedrock users. Install friction is low, and it integrates cleanly into existing OpenTelemetry setups. Suitable for production use if you need to trace Bedrock calls.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires botocore v1.34.116 or above for converse API support; AWS credentials must be configured separately.
- Low friction: pure Python wheel with 8 runtime dependencies including opentelemetry-api, opentelemetry-instrumentation, and wrapt.
- Actively maintained with a release 7 days ago; repo shows 1147 stars and recent activity.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and private projects with minimal restrictions; attribution required.
last release 2026-08-07 (7 days) · last repo commit 2026-08-14 · 1,147 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 233,880 downloads/mo, #9,031 on PyPI
Alternatives
Verify before relying
pip install openinference-instrumentation-bedrock
from openinference.instrumentation.bedrock import BedrockInstrumentor
from opentelemetry import trace as trace_api
BedrockInstrumentor().instrument()- Whether all listed Bedrock models are equally well-tested or if some remain experimental.
- Performance overhead of instrumentation on high-throughput workloads.
- Compatibility with custom OpenTelemetry exporters beyond those shown in examples.
What it is and what it does
This package automatically captures traces from AWS Bedrock API calls made through boto3 (sync) and aioboto3 (async), converting them into OpenTelemetry spans that conform to the OpenInference specification. It wraps the bedrock-runtime and bedrock-agent-runtime clients to intercept invoke_model, converse, and invoke_agent calls, extracting request and response details without requiring manual instrumentation code.
The traces are exported to any OpenTelemetry-compatible backend where they can be visualized and analyzed. It supports a range of Bedrock models including Anthropic Claude variants, Meta Llama, Amazon Nova, and Mistral models, with different APIs (invoke_model vs. converse) supported depending on the model. The package requires Python 3.10 or later and depends on opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, dacite, wrapt, and typing-extensions.
Use it for
- Debug and trace LLM calls to Bedrock models by viewing request/response details in observability backends.
- Monitor latency and error rates of Bedrock API calls across your application using OpenTelemetry exporters.
- Instrument async Bedrock workloads built with aioboto3 to correlate LLM calls with application traces.
- Analyze multi-turn conversations with Bedrock's converse API to understand model behavior.
- Integrate Bedrock observability into existing OpenTelemetry pipelines without modifying application code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained (release 7 days ago), has no known vulnerabilities, carries a permissive Apache-2.0 license, and solves a real observability gap for Bedrock users. Install friction is low, and it integrates cleanly into existing OpenTelemetry setups. Suitable for production use if you need to trace Bedrock calls.
Install
openinference-instrumentation-bedrock on PyPI
Before you install
Low friction: pure Python wheel with 8 runtime dependencies including opentelemetry-api, opentelemetry-instrumentation, and wrapt. Actively maintained with a release 7 days ago; repo shows 1147 stars and recent activity.
Requires botocore v1.34.116 or above for converse API support; AWS credentials must be configured separately.
License in practice
Apache-2.0 permissive license allows use in commercial and private projects with minimal restrictions; attribution required.
Quickstart
pip install openinference-instrumentation-bedrock
from openinference.instrumentation.bedrock import BedrockInstrumentor
from opentelemetry import trace as trace_api
BedrockInstrumentor().instrument()
Verify before relying
- Whether all listed Bedrock models are equally well-tested or if some remain experimental.
- Performance overhead of instrumentation on high-throughput workloads.
- Compatibility with custom OpenTelemetry exporters beyond those shown in examples.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesdaciteopeninference-instrumentationopeninference-semantic-conventionsopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionstyping-extensionswrapt |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 233,880 / month, #9,031 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: openinference_instrumentation_bedrock-0.1.45-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 bedrock opentelemetry”
- openinference-instrumentation-bedrockAutomatically instruments AWS Bedrock API calls (invoke_model,…
- opentelemetry-instrumentation-bedrockAdds distributed tracing to AWS Bedrock API calls made through Boto3,…
- opentelemetry-instrumentation-botocoreAdds distributed tracing to AWS SDK calls made through botocore and…
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 opentelemetry-instrumentation-botocore · openinference-instrumentation-anthropic · openinference-instrumentation-claude-agent-sdk · aws_sdk_bedrock_runtime · openinference-instrumentation-litellm · openinference-instrumentation-openai · openinference-instrumentation-mcp · openinference-instrumentation-openai-agents · openinference-instrumentation-agno · openinference-instrumentation-google-genai