Deploying the CloudWatch agent and the X-Ray daemon on Amazon EC2 - Amazon CloudWatch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deploying the CloudWatch agent and the X-Ray daemon on Amazon EC2

Standard installations of the CloudWatch agent and the X-Ray daemon are sufficient to enable ServiceLens on Amazon EC2, with the addition of the following CloudWatch agent configuration section example. For more information about installing the agent, see Installing the CloudWatch agent. For more information about the CloudWatch agent configuration file, see Manually create or edit the CloudWatch agent configuration file.

When you configure the CloudWatch agent, include this section in your configuration file:

{ "logs": { "metrics_collected": { "emf": {} } } }

For more information about installing the X-Ray daemon, see X-Ray Daemon Configuration.