Overview of AWS X-Ray
X-Ray is a powerful service and very easy to use, but to understand it better, we can’t escape learning its vocabulary. You can find a collection of the main concepts and building blocks, which are well explained, in the AWS documentation (see https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html). We will provide the same list here for completeness.
X-Ray concepts
Here is a list defining the main concepts related to X-Ray:
- Segments: Each application sends information about its unit of work as segments. This segment contains information about the host, the request, the response, start and end times, and any errors or exceptions that happened between the start/end.
- Subsegments: Subsegments further break down the work recorded by segments. Subsegments register more granular details about your application code or downstream calls.
- Service graph: With segments and subsegments, X-Ray builds a service graph, where each resource...