Basic information
| Field | Content |
|---|---|
| English | AWS X-Ray |
| Full name | AWS X-Ray |
| Chinese | 分布式追踪 |
| Japanese | 分散トレーシング |
| Exam frequency | ⭐⭐⭐ |
| Often confused with | CloudWatch |
In one sentence
Traces requests through distributed applications to analyze bottlenecks and errors.
Stage summary
- Core role:Traces requests through distributed applications to analyze bottlenecks and errors.
- Exam frequency:3 / 5
- Compare with:CloudWatch
Memory hook
AWS X-Ray = Traces requests through distributed applications to analyze bottlenecks and errors.
Core concepts
- A trace is one request across the complete distributed path.
- Segments and subsegments record latency, errors, and metadata.
- The service map visualizes dependencies, latency, and error rates; sampling controls volume.
The X-Ray SDK or OpenTelemetry propagates trace context, and services such as Lambda, API Gateway, ECS, and EC2 contribute an end-to-end trace. CloudWatch shows system health, X-Ray locates a request’s bottleneck or failure, and CloudTrail audits who did what and when.