Skip to content

AWS X-Ray

#68 · Level 2 · Scaling and resilience · Monitoring and operations

AWS X-Ray is a distributed tracing service. When a request travels through different parts of an app (such as API Gateway, Lambda and a database), X-Ray builds a trace (a record of the path) of the whole journey. The trace shows how much time each part took and where errors happened. A picture called the service map shows how the parts of the app are connected to each other. AWS now recommends using an OpenTelemetry-based approach to send trace data.

Courier parcel tracking — you can see which offices the parcel went through and where it got stuck.

When an app is made of many small services, it is hard to find which one is causing slowness or errors.

Finding the slow part of a microservice app, seeing where an error started.

Azure Application Insights

For details and the latest information, see the official documentation: