Operations | Monitoring | ITSM | DevOps | Cloud

How to Monitor JavaScript Log Messages and Exceptions with Playwright

Monitoring JavaScript log messages is how you know, at a basic level, what the browser’s JavaScript engine is doing in detail. Playwright provides an efficient way to listen for console logs and uncaught exceptions in your pages. This capability is invaluable for developers and testers aiming to catch and resolve issues early in the development cycle. This article will guide you through the process of setting up Playwright to monitor JavaScript logs and exceptions, enhancing your testing strategy.

Writing Your First Visual Regression Check in Playwright

Visual regression testing ensures that your web application looks as expected and that any visual changes are intentional. These tests amount to comparing two screenshots and looking for pixels that are different. With Playwright, you can achieve this with just a few lines of JavaScript. Let's walk through the process using a simple example. Once we’ve done a visual regression test start to finish in Playwright, we’ll show how you can add Checkly tools to create visual regression monitors.

OpenTelemetry Metrics: Concepts, Types & Instruments

OpenTelemetry (OTel) Metrics are part of the OpenTelemetry project, which provides tools, APIs, and SDKs for telemetry data collection. These metrics capture system performance data like request latency, error rates, resource usage, and throughput. OTel aims to standardize observability across languages and platforms, making it easier to use and integrate telemetry data. Metrics are one of three core signals of OpenTelemetry along with logs and traces.

Saving Three Months of Latency with a Single Trace: Coralogix and OpenTelemetry on Checkly

What’s the point of observability? Surely if you write good code, maintain it, handle tech debt, and administer its resources correctly, it’ll run great? Why would you need to keep a close eye on services that have already been tested and are working great? In this article I want to show how continuous monitoring of your systems closely, with tools like Checkly and Coralogix, can find problems that would have been impossible to predict or pre-optimize.

Get alerted when your Playwright checks degrade in performance

Discover how to improve your end-to-end monitoring alerts with Checkly's new feature: degraded browser check runs. In this video, you'll learn how to extend your Playwright tests to mark test runs as "degraded" under certain conditions. Marking checks as degraded gives you more control over critical alerts and you'll gain more insights into your monitoring results.

How to monitor your APIs with Checkly API checks

This video covers how to use Checkly's API checks and active synthetic monitoring to streamline your API monitoring process and detect issues faster. We'll set up a new API check to monitor one of Checkly's API endpoints and go step-by-step from configuring the API request to defining essential headers, monitoring details and retry strategies.

Leveraging Network Interception with Playwright for End-to-End Monitoring

If you're using Playwright, either on its own or for synthetic monitoring with Checkly, you might have heard about writing Playwright scripts in a user-first manner. This approach focuses on interacting with the UI as a user would, such as clicking buttons or submitting forms, and then waiting for the UI to reflect the changes. However, sometimes you need to intercept and analyze the network layer to verify that your UI is getting the right responses from its supporting API.