AWSCloud Visual Academy

AWS service / Developer Tools

AWS X-Ray

Distributed tracing service that helps locate latency and errors across a request's path through an application.

Try a scenarioRecall card

How it works

Instrumented services send trace segments and timing data; a trace can show which downstream call consumed the time. This differs from aggregate infrastructure alarms and AWS API audit records.

Exam keywords

distributed tracing
traces
segments
service map
latency

Picture this

A parcel's tracking history shows where it waited on the way to its destination.

X-Ray sees inside a request path.

When to use it

A microservices team needs to follow individual checkout requests through several downstream calls and identify the slow hop causing high latency.

When not to use it

For who changed an AWS resource, read audit events; for an alarm on CPU, use operational metrics.

Amazon CloudWatch — Operational observability service for metrics, logs, alarms, and dashboards.
AWS CloudTrail — Audit service that records AWS account activity, including supported API and non-API events.
Amazon Detective — Security investigation service that correlates activity to help explain and investigate security findings.

On the exam

AWS Certified Cloud Practitioner (CLF-C02) · Domain 3: Technology & Services · Task 3.8