Skip to content

X ray

Basics

  • X-Ray provides distributed tracing across multiple products
  • When a user first connects to an application configured to use X-Ray, Trace Id is generated and inserted in a Tracing Header.
  • The Trace Id is used to track a request throughout the lifecycle
  • Supported services send data into X-Ray as segments.
  • Segment consists of host/ip, request, response, timestamps, issues
  • Segment can contain subsegments which have further granular information about requests within a segment
  • X-Ray uses this data to create a Service Graph
  • Service Map is a visual representation of Service Graph
  • Some of the services that can use X-Ray are EC2, ECS, Lambda, BeanStalk, API Gateway, SNS, SQS