Judgment Labs Logo
Model Providers

AWS Bedrock

If you use AWS Bedrock models within your application, you can trace, monitor, and analyze them with Judgment using BedrockInstrumentor.

OpenTelemetry

pip install opentelemetry-instrumentation-bedrock
from judgeval import Tracer
# Make sure you installed the dependency: opentelemetry-instrumentation-bedrock
from opentelemetry.instrumentation.bedrock import BedrockInstrumentor

Tracer.init(project_name="bedrock_project")
Tracer.registerOTELInstrumentation(BedrockInstrumentor())

This instrumentation automatically traces all AWS Bedrock model invocations made through the Boto3 SDK, including models from Anthropic, Meta, Mistral, and other providers available on Bedrock.

On this page