Amazon Bedrock AgentCore generated observability data
For agents running in the AgentCore runtime, AgentCore automatically generates a set of session metrics which you can view in the Amazon CloudWatch Logs generative AI observability page. You can also use AgentCore observability to monitor the performance of memory, gateway, and built-in tool resources, even if you're not using the AgentCore runtime to host your agents. For memory, gateway, and built-in tool resources, AgentCore outputs a default set of data to CloudWatch.
The following table summarizes the default data provided for each resource type, and where the data is available.
Resource type | Service-provided data | Available in CloudWatch gen AI observability | Available in CloudWatch (Logs or metrics) |
---|---|---|---|
Agent | Metrics | Yes | Yes |
Memory | Metrics, Spans*, Logs* | No | Yes |
Gateway | Metrics | No | Yes |
Tools | Metrics | No | Yes |
* memory spans and logs require enablement. See Add observability to your Amazon Bedrock AgentCore resources to learn more.
Note
To view metrics, spans, and traces for AgentCore, you need to perform a one-time setup process to enable CloudWatch Transaction Search. To learn more see Enabling AgentCore observability.
Refer to the following topics to learn about the default service-provided observability metrics for AgentCore runtime, memory, and gateway resources.
Topics
By instrumenting your agent code, you can also gather more detailed trace and span data as well as custom metrics. See Enabling observability in agent code for AgentCore-hosted agents to learn more.