MLA-C02

Introduction to Observability for Generative AI and Agents

CloudWatch generative AI observability, ongoing FM quality monitoring, monitoring agent performance and failures, tracing with AgentCore Observability and X-Ray, and dashboards.

  • 5 lessons
  • Module quiz

Generative AI applications fail in ways that traditional metrics do not show. A request can succeed technically yet return a truncated, irrelevant or unsafe answer; costs grow with the number of tokens; and an agent can take many steps, calling models and tools, before it produces a result. Operating these systems requires visibility into tokens, latency, quality and every step of a run.

CloudWatch generative AI observability collects metrics and traces for models and agents. AgentCore Observability traces each step of an agent's reasoning and tool calls using OpenTelemetry. AWS X-Ray traces requests across services. Bedrock model invocation logging records prompts and responses, and scheduled Bedrock evaluations measure quality over time.

What the exam expects

Questions test choosing X-Ray for request paths across services and AgentCore Observability for agent steps, the Bedrock metrics for invocations, latency, throttles and tokens, recognising truncation from the max_tokens stop reason, and combining invocation logging with evaluation jobs to monitor quality.

How this module is organised

Observing Generative AI Applications with CloudWatch explains the main signals. Monitoring Foundation Model Quality Over Time explains how quality is tracked over time. Monitoring Agent Tool Failures, Coordination and Truncation and Troubleshooting with AgentCore Observability and AWS X-Ray explain how agents are monitored and traced, and Building Dashboards for ML and AI Metrics explains how to present the results.

  1. Observing Generative AI Applications with CloudWatch Lesson 1
  2. Monitoring Foundation Model Quality Over Time Lesson 2
  3. Monitoring Agent Tool Failures, Coordination and Truncation Lesson 3
  4. Troubleshooting with AgentCore Observability and AWS X-Ray Lesson 4
  5. Building Dashboards for ML and AI Metrics Lesson 5
  6. Practise and review
  7. Checkpoint Practice activities across the module
  8. Test your knowledge 4 questions