Lesson 5 of 5 Observability for Generative AI and Agents

Building Dashboards for ML and AI Metrics

This lesson explains how to set up dashboards that give teams a shared view of model health, performance and cost, as the exam guide asks.

Learning outcomes

After completing this lesson, you will be able to:

  • Build CloudWatch dashboards for ML operations.
  • Use built-in dashboards such as the SageMaker Model Dashboard.
  • Design dashboards by audience.

CloudWatch dashboards

CloudWatch dashboards combine metric graphs, numbers, alarms status and Logs Insights query results on one page. A typical ML operations dashboard shows invocations, latency percentiles (p50, p90, p99), 4XX and 5XX errors and utilisation per endpoint variant; Model Monitor violation metrics; pipeline and job failure counts; Bedrock token counts, latency and throttles; and agent session and tool error metrics. Metric math derives values such as error percentage or cost per thousand requests, and cross-account observability lets a monitoring account show metrics from several workload accounts.

True or false

CloudWatch dashboards

Exam skills 4.2.3

Check what CloudWatch dashboards can show.

Log in to try this activity Interactive activities are free with an account.

Built-in and business dashboards

Several dashboards come prebuilt: the SageMaker Model Dashboard lists models, endpoints, monitoring schedules, violations and model cards across the account; CloudWatch generative AI observability provides model invocation and agent views; automatic dashboards cover individual services. For business stakeholders, Amazon Quick Sight builds dashboards from Athena queries over logs, predictions and outcomes, such as conversion by model variant or cost by team.

Designing useful dashboards

Organize dashboards by audience: an operations view focused on health and alarms, a model-quality view with drift and evaluation scores, and a cost view. Show percentiles rather than averages for latency, put alarm status at the top, and keep each dashboard small enough to read at a glance. The following table summarises typical contents.

DashboardContentsTool
OperationsInvocations, p99 latency, errors, utilisation, alarmsCloudWatch dashboard
Model qualityDrift violations, model quality metrics, evaluation scoresCloudWatch, SageMaker Model Dashboard
Generative AITokens, latency, throttles, agent errorsCloudWatch generative AI observability
Business and costOutcomes by variant, cost by teamAmazon Quick Sight, Cost Explorer

The following diagram shows a central monitoring account for 30 models spread across four workload accounts, and what it contains.

One place for 30 models in four accounts. CloudWatch cross-account observability brings the workload accounts' metrics into a central monitoring account, where one operations dashboard shows p99 latency and 5XX error percentage per endpoint with alarm status, links to the SageMaker Model Dashboard for drift, and a weekly Quick Sight report covers cost and usage for managers.
The account names are illustrative.
Sort into groups

Which dashboard?

Exam skills 4.2.3

Decide which audience's dashboard each widget belongs on.

Log in to try this activity Interactive activities are free with an account.
Worked example

A platform team's dashboards

A platform team supports 30 models in four accounts and needs a single place to see problems.

  • Enable CloudWatch cross-account observability with a central monitoring account.
  • Build one operations dashboard with p99 latency and 5XX rate per endpoint, using metric math to compute error percentages, and an alarm status widget.
  • Link each model row to the SageMaker Model Dashboard for drift details.
  • Publish a weekly Quick Sight cost-and-usage report for managers.

On-call engineers now see every account's endpoints on one screen instead of signing in to four consoles.

Check yourself

Which view shows all models, endpoints and monitors in one place?

Show answer

The SageMaker Model Dashboard.

Exam Tips

Remember for the exam

  • Operational ML dashboards: CloudWatch dashboards with metric math.
  • Several accounts in one view: CloudWatch cross-account observability.
  • All models, endpoints and monitors: SageMaker Model Dashboard.
  • Business reporting: Amazon Quick Sight.
  • Show latency percentiles, not just averages.