From the course: Hands-On Development in AWS

Unlock this course with a free trial

Join today to access over 24,500 courses taught by industry experts.

Exploring X-Ray

Exploring X-Ray

- X-Ray gives you the ability to instrument your code so that you can see the calls that are being made to various services from your code. Amazon says you can analyze and debug production and distributed applications using X-Ray. Several of the AWS services have the ability to turn on X-Ray for the service, and they do offer software development kits to integrate X-Ray into your applications. They offer SDKs for Java, .NET, .NET Core, Ruby, Node.js and python. The X-Ray SDK provides you with interceptors. These will trace incoming HTTP requests as they flow through the AWS API. You also get client handlers to instrument AWS SDK clients that your application uses to call other AWS services. When we run through the demo of X-Ray, we will see how we can instrument a lambda function in order to log X-Ray traces as it is communicating with various AWS services. We also get an HTTP client to instrument calls to internal and external web services and the ability to instrument SQS calls from…

Contents