Amazon CloudWatch Synthetics now supports Playwright runtime to create canaries with NodeJS
Share
Services
CloudWatch Synthetics, which continuously monitors web applications and APIs by running scripted canaries to help you detect issues before they impact end-users, now supports the Playwright framework for creating NodeJS canaries enabling comprehensive monitoring and diagnosis of complex user journeys and issues that are challenging to automate with other frameworks.
Playwright is an open-source automation library for testing web applications. You can now create multi-tab workflows in a canary using the Playwright runtime which comes with the advantage of troubleshooting failed runs with logs stored directly to CloudWatch Logs database in your AWS account. This replaces the previous method of storing logs as text files and enables you to leverage CloudWatch Logs Insights for query-based filtering, aggregation, and pattern analysis. You can now query CloudWatch logs for your canaries using the canary run ID or step name, making the troubleshooting process faster and more precise than one relying on timestamp correlation for searching logs. Playwright-based canaries also generate artifacts like reports, metrics, and HAR files, even when canaries times out, ensuring you have the required data needed for root cause analysis in those scenarios. Additionally, the new runtime simplifies canary configuration by allowing customization through a JSON file, removing the need to call a library function in the canary code.
Playwright runtime is available for creating canaries in NodeJS in all commercial regions at no additional cost to users.
To learn more about the runtime, see [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Synthetics%5FWritingCanary%5FNodejs%5FPlaywright.html), or refer to the [user guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch%5FSynthetics%5FCanaries.html) to get started with CloudWatch Synthetics.
What else is happening at Amazon Web Services?
Amazon CloudFront now supports additional log formats and destinations for access logs
in about 12 hours
Services
Share
Read update
Services
Share
Read update
Services
Share
AWS Application Load Balancer introduces header modification for enhanced traffic control and security
about 12 hours ago
Services
Share
Amazon EC2 G6e instances now available in additional regions
about 12 hours ago
Services
Share
Announcing new Amazon CloudWatch Metrics for AWS Lambda Event Source Mappings (ESMs)
about 13 hours ago
Services
Share