🚧 Still in development 🚧
Vigilo is a monitoring tool that automates Lighthouse audits and sends key metrics to Datadog. Designed to keep a vigilant eye on your web application's performance and accessibility.
- Clone the repo
- Run
pnpm run setup
- Add the metrics you want to track to the
onlyAudits
property in thesrc/config/lh-config.js
file - Add your URLs to the
src/config/urls.json
file - Add your Datadog API key and Datadog Application key to the
.env
file - Run
pnpm run build
sudo apt update && sudo apt -y upgrade && sudo apt -y autoremove
Download and Install Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt -y install ./google-chrome-stable_current_amd64.deb
Check Chrome was Successfully Installed
google-chrome --version
- After setup, run
pnpm start
to run vigilo and send metrics to Datadog
- After setup, run
pnpm run create-dashboard
to create temporary dashboard in Datadog. - Copy the newly created section in the temporary dashboard.
- Paste it in the existing
Lighthouse Reports
dashboard. - Delete the temporary dashboard.
This is useful when there were changes to the config files (lh-config.js
, and url.json
) and we want to create the dashboards for the new audits
/page types
.
- After setup, run
pnpm run update-metric-metadata
to use the CLI tool to update the metadata of the metrics in Datadog. - The CLI tool will give you a list of options to pass as well as information on how to use the tool.
- Similar Local Setup steps 1-5
- Run
docker build -t vigilo .
- After setup, run
pnpm start:docker
to run vigilo and send metrics to Datadog
-
Run
pnpm run build
to build all packages -
Run
pnpm run build:core
to build the core package -
Run
pnpm run build:scripts
to build the standalone utility scripts to interact with Datadog
If you want additional options for the build process, you can use run pnpm build --help
or node build.js --help
to see the available options.