Skip to content

X-Ray

AWS X-Ray is a service that collects data about requests that your application serves, and provides tools you can use to view, filter, and gaiin insights into that data to identify issues and opportunities for optimization. For any traced request to your application, you can see detailed information not only about your request and response, but also about calls that your application makes to downstream AWS resources, microservices, databases, and HTTP web APIs.

X-Ray Architecture

  1. You have the X-Ray SDK in your app, which sends messages to the X-Ray Daemon running on a server.
  2. The X-Ray Daemon consumes the messages and forward to the X-Ray API.
  3. Finally, you observe the statuses in the X-Ray Console via a tree-like diagram visualization.

X-Ray SDK

The X-Ray SDK Provides:

  • Interceptors to add to your code to trace incoming HTTP requests.
  • Client handlers to instrument AWS SDK clients that your application uses to call other AWS services.
  • An HTTP client to use to instrument calls to other internal and external HTTP web services.

X-Ray Integration

The X-Ray Integrates with the following AWS services:

  • Elastic Load Balancing
  • AWS Lambda
  • AWS API Gateway
  • AWS EC2
  • AWS Elastic Beanstalk

X-Ray Supported Languages

  • Java
  • Go
  • Node.js
  • Python
  • Ruby
  • .NET/C#