QuestionQ93

VerifiedMonitoring and Logging

A web application has been deployed with an AWS Elastic Beanstalk application. The application developers are concerned about high latency in two areas of the application:

  • HTTP client requests to a third-party API
  • MySQL client-library queries to an Amazon RDS database

A DevOps engineer must collect trace data to diagnose the issues.

Which steps will collect the trace information with the LEAST application changes and performance impact?

Explanation

The AWS X-Ray SDK instruments the application to generate trace segments and subsegments for outbound HTTP requests and supported database calls, including MySQL queries. The X-Ray daemon on the Elastic Beanstalk instances relays that trace data to AWS X-Ray, where it is analyzed in the X-Ray console. Elastic Beanstalk can enable the daemon directly, but the daemon needs SDK-generated trace data.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!