ladderlore
  • 输入服务名称,例如 S3 或 IAM。

服务 · Management and Governance

Amazon CloudWatch

Collects metrics and logs and raises alarms, so you can monitor how your AI services are used.

本课尚未翻译,暂以英文显示。

Bedrock
CloudWatch
Alarm
Team notified
  1. 1Amazon Bedrock sends usage metrics to CloudWatch.
  2. 2An alarm watches a metric, such as token use.
  3. 3When the limit is crossed, the team is notified.
Metrics flow to CloudWatch, and an alarm tells your team.

分步说明

  1. 1Amazon Bedrock sends usage metrics to CloudWatch.
  2. 2An alarm watches a metric, such as token use.
  3. 3When the limit is crossed, the team is notified.

Metrics flow to CloudWatch, and an alarm tells your team.

  • Metrics

    What it is
    Numbers over time
    AI example
    Requests, latency, tokens
  • Logs

    What it is
    Text records of events
    AI example
    Prompts and answers, errors
  • Alarms

    What it is
    Alert at a threshold
    AI example
    Notify when token use spikes
The three signals CloudWatch gives you.

是什么

Amazon CloudWatch collects metrics (numbers over time), logs (text records) and alarms (alerts when a number crosses a line). AWS services send metrics to it automatically.

For AI, CloudWatch shows how a model is used: number of requests, latency and token counts, which drive cost. An alarm can warn you when use jumps, when errors rise, or when the cost is heading above budget. Amazon Bedrock can also send model invocation logs, the prompts and answers, to CloudWatch Logs.

That makes CloudWatch the monitoring and logging side of governance. AWS CloudTrail is the audit side.

要记住

  • CloudWatch: metrics, logs and alarms.
  • Watch requests, latency, errors and token use of a model.
  • Alarms notify people when a number crosses a threshold.
  • Model invocation logs can be sent to CloudWatch Logs.
  • CloudWatch monitors performance. CloudTrail audits API calls.

考试中

  • “Alert the team when model requests or token use spike” points to an Amazon CloudWatch alarm.
  • “Monitor latency and errors of an AI application” points to Amazon CloudWatch.