About Amazon Bedrock AgentCore Monitoring
Amazon Bedrock AgentCore runs AI agents on AWS. Its Runtime hosts the agent, its Gateway exposes tools to the agent over the Model Context Protocol (MCP), and its Memory stores conversation history and what the agent learns about each user.
Dash0 shows a request to an AgentCore agent as one trace. The trace contains the agent's model calls and tool calls, plus the spans that AWS records inside Gateway, Memory, and the Lambda functions behind your tools. You see where an agent spends its time, which tool call failed, and whether the delay came from the model, the Gateway, or the tool.
What Dash0 Collects
Telemetry for AgentCore reaches Dash0 through four paths. Each path is independent, so you can start with one and add the others later.
| Signal | Source | How it reaches Dash0 |
|---|---|---|
| Agent spans, logs, and metrics | Your agent code, through the OpenTelemetry SDK | OTLP, directly from the agent runtime to Dash0 |
| Gateway, Memory, and Lambda spans | AWS X-Ray, stored by CloudWatch Transaction Search in the aws/spans log group | A CloudWatch Logs subscription to an Amazon Data Firehose stream |
| Gateway, Memory, and Lambda logs | The Gateway and Memory application logs and the Lambda log groups in CloudWatch Logs | A CloudWatch Logs subscription to an Amazon Data Firehose stream |
| AgentCore metrics | The AWS/Bedrock-AgentCore CloudWatch namespace | Scraped by the Dash0 AWS integration |
- Agent spans: One span per agent invocation, model call (
chat), and tool call (execute_tool), following the OpenTelemetry semantic conventions for generative AI . Agent frameworks such as Strands Agents emit these spans out of the box. - Gateway spans: Inbound authorization, tool listing, routing, and one
AgentCore.Gateway.InvokeToolspan per tool call, named after the tool. - Memory spans: One span per Memory API call, such as
RetrieveMemoryRecords,CreateEvent, andListEvents. - Lambda spans: The Lambda service and execution environment spans of each tool target, when the function has active tracing turned on.
- Gateway, Memory, and Lambda logs: One log per Gateway request, Memory's logs for its memory extraction, and your tool function's logs. Gateway logs carry the trace ID of the request, so they show up in the same trace as the spans.
- AgentCore metrics: Invocations, latency, errors, and sessions for Runtime, Gateway, and Memory. The Amazon Bedrock AgentCore dashboard from the Dash0 Integration Hub shows them per agent, tool, and Memory operation.
How the Trace Fits Together
The agent creates the trace and passes its trace context to Gateway and Memory in the traceparent and X-Amzn-Trace-Id request headers. AgentCore records its own spans under the same trace ID, and only for requests that carry a sampled trace context. Without these headers, AgentCore records no Gateway or Memory spans for the request.
AWS writes these spans to the aws/spans CloudWatch log group. A subscription filter forwards them to Dash0, where they join the agent's spans in a single trace.
Next Steps
Last updated:

