Skip to content
Judgment Labs
Esc
navigateopen⌘Jpreview
On this page

AWS Bedrock Integration

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())

Was this page helpful?