PowerTraces

AI tracing: Amazon Bedrock

Bedrock Runtime calls (Converse and InvokeModel) made with boto3.

1. Install the botocore instrumentation

It adds GenAI attributes to Bedrock Runtime calls.

pip install opentelemetry-instrumentation-botocore

2. Turn it on at start-up

Call it once, before you create the boto3 client.

from opentelemetry.instrumentation.botocore import BotocoreInstrumentor

BotocoreInstrumentor().instrument()

Calling Claude on Bedrock with the Claude SDK? Use the Claude guide instead: SDK tracing works with its Bedrock client.

Prompts and answers

Most libraries send only counts and timings until you turn content on. When you do, PowerTraces keeps it, masks personal data, or drops it, as set in AI › Settings for each workspace.

Check it works

Make one model call, then open the AI page: the run appears within a minute. Open it to see each step in the Agent tab.

Other providers

All documentation