Monitoring endpoints and APIs with CloudWatch - AWS X-Ray

Monitoring endpoints and APIs with CloudWatch

AWS X-Ray integrates with Amazon CloudWatch to support CloudWatch ServiceLens and CloudWatch Synthetics in monitoring the health of your applications. By correlating metrics, logs, and traces, ServiceLens provides an end-to-end view of your services to help you quickly pinpoint performance bottlenecks and identify impacted users. To learn more about ServiceLens, see Using ServiceLens to Monitor the Health of Your Applications.

ServiceLens integrates with CloudWatch Synthetics, a fully managed service that enables you to monitor your endpoints and APIs from the outside in. Synthetics uses modular, lightweight canaries that run 24 hours per day, once per minute. Canaries are configurable scripts that follow the same routes and perform the same actions as a customer. This enables the outside-in view of your customers’ experiences, and your service’s availability from their point of view.

You can customize canaries to check for availability, latency, transactions, broken or dead links, step-by-step task completions, page load errors, load latency for UI assets, complex wizard flows, or other workflows in your application.

To get started with Synthetics, enable X-Ray for your APIs, endpoints, and web apps, for example your APIs running on API Gateway. Then create a canary and observe the Synthetics node in your service graph. To learn more about setting up Synthetics tests, see Using Synthetics to Create and Manage Canaries.