Once you’ve integrated with AWS CloudWatch, you have access to metrics from AWS CloudWatchSynthetics, which is to build customisable scripts called “canaries” to monitor your endpoints and APIs on a regular basis.
To verify metrics are reporting, search for the metrics on the Metric details page in Project settings.
The following table shows the CloudWatchSynthetics metrics ingested by Lightstep.
|aws.cloudwatchsynthetics.success_percent||percent||The percentage of runs made by this canary that are successful and contain no failures.|
|aws.cloudwatchsynthetics.duration||milliseconds||The millisecond duration of the canary run.|
|aws.cloudwatchsynthetics.2xx||count||The proportion of the canary's network requests that were successful as shown by response codes 200 to 299. This metric is reported for both UI and API canaries running
|aws.cloudwatchsynthetics.4xx||count||The proportion of network requests made by the canary that resulted in error response codes between 400 and 499. This metric is reported for both UI and API canaries running
|aws.cloudwatchsynthetics.5xx||count||How many of the canary's network requests returned response codes between 500 and 599 that were Faults?
This statistic pertains to both UI and API canaries running
|aws.cloudwatchsynthetics.failed||count||The number of canary runs that failed to finish. These mistakes are specifically related to the canary.|
|aws.cloudwatchsynthetics.failed_requests||count||The total number of HTTP requests sent by the canary and not answered by the target website.|
|aws.cloudwatchsynthetics.visual_monitoring_success_percent||percent||The percentage of visual comparisons made during a test run that accurately matched the test screenshots.|
|aws.cloudwatchsynthetics.visual_monitoring_total_comparisons||count||The total number of visual comparisons performed during a canary run.|