The Lighthouse Integration allows the Atatus Infrastructure Agent to automatically run Google Lighthouse audits against your websites and capture performance metrics such as:
  • Performance score
  • Accessibility score
  • SEO score
  • Best practices & PWA checks
Use this integration to continuously monitor page performance across environments (production, staging, dev).

Prerequisites

Before enabling the Lighthouse integration, ensure the following components are installed on the host system.

Install Node.js (System-wide)

Node.js must be installed globally (not via NVM).

Install Lighthouse CLI

Install Lighthouse globally:

Alternative: Install Chromium

or on newer Ubuntu:

Setup

No separate installation is required, but your host must have Node.js, Chrome/Chromium, and Lighthouse installed.

Verify installation

Run the following commands to confirm that Lighthouse, Chrome/Chromium, and Node.js are installed on your system:
Configuration Add the following configuration to: /etc/atatus-infra-agent/conf.d/lighthouse.d/lighthouse.yaml
After configuration, restart the Atatus Infrastructure Agent: