Skip to main content

OpenTelemetry Bedrock Instrumentation

This library allows tracing any of AWS Bedrock's models prompts and completions sent with Boto3 to Bedrock.

Installation

pip install opentelemetry-instrumentation-bedrock

Example usage

from opentelemetry.instrumentation.bedrock import BedrockInstrumentor

BedrockInstrumentor().instrument()

Privacy

By default, this instrumentation logs prompts, completions, and embeddings to span attributes. This gives you a clear visibility into how your LLM application is working, and can make it easy to debug and evaluate the quality of the outputs.

However, you may want to disable this logging for privacy reasons, as they may contain highly sensitive data from your users. You may also simply want to reduce the size of your traces.

To disable logging, set the TRACELOOP_TRACE_CONTENT environment variable to false.

TRACELOOP_TRACE_CONTENT=false

Metadata

Release files for overmind-instrumentation-bedrock 0.53.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for overmind-instrumentation-bedrock 0.53.0
File Size Uploaded
overmind_instrumentation_bedrock-0.53.0.tar.gz 155.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for overmind-instrumentation-bedrock 0.53.0
File Interpreter ABI Platform
overmind_instrumentation_bedrock-0.53.0-py3-none-any.whl Python 3 none any Details

Total release size: 175.0 kB

Release files / overmind_instrumentation_bedrock-0.53.0.tar.gz

Download URL overmind_instrumentation_bedrock-0.53.0.tar.gz
Size 155.7 kB
Tags Source
SHA-256 checksum
How to use checksums
69d81d39abaa016753ff5e6ed11a5989fc1bde05af5959dd45bdcb284567e42e
BLAKE2b-256 checksum
How to use checksums
25fd7ee745978cbdde522eb9c004efa0366b0b795a772dcb42a016f654b243fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / overmind_instrumentation_bedrock-0.53.0-py3-none-any.whl

Download URL overmind_instrumentation_bedrock-0.53.0-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37248535908951fc31aca660ea1f1a4530a6f52026e581be84d94978f252d27b
BLAKE2b-256 checksum
How to use checksums
a87011646638d94d4ccde77d9bac16744adefc18ddcc2ac66efd01dc40ecf672
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.53.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page