ExitAmazon Bedrock: inference monitoring and invocation logging1 / 9
Explanation

Separate operational measurements from model content

How Bedrock exposes inference metrics and model invocation logs, and how to configure their collection while protecting sensitive prompts and responses. · associate

Amazon Bedrock automatically publishes inference metrics to Amazon CloudWatch in the AWS/Bedrock namespace. Use invocation counts, latency, errors, throttles, and supported token-count metrics to understand workload health. Select the appropriate model dimensions and statistic: a sum answers a count question, while a latency percentile helps reveal slow requests.

Model invocation logging serves a different purpose. It can capture invocation details, including model inputs and outputs, for troubleshooting and analysis. It is disabled by default and must be configured explicitly. You do not need to enable it to receive the automatic inference metrics.

A latency alarm can tell you that requests are slow without exposing their prompts. A content-bearing invocation record can help explain a particular response, but creates another copy of potentially sensitive data. Available metrics and logged content depend on the model and invocation type.

PropertyInference metricsInvocation logs
Main purposeHealth and trendsInvocation investigation
CollectionAutomaticExplicitly enabled
Prompt and response bodiesNot includedCan be included
Typical useDashboards and alarmsInspect individual records

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.