🚧 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
onlyAuditsproperty in thesrc/config/lh-config.jsfile - Add your URLs to the
src/config/urls.jsonfile - Add your Datadog API key and Datadog Application key to the
.envfile - 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 startto run vigilo and send metrics to Datadog
- After setup, run
pnpm run create-dashboardto create temporary dashboard in Datadog. - Copy the newly created section in the temporary dashboard.
- Paste it in the existing
Lighthouse Reportsdashboard. - 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-metadatato 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:dockerto run vigilo and send metrics to Datadog
-
Run
pnpm run buildto build all packages -
Run
pnpm run build:coreto build the core package -
Run
pnpm run build:scriptsto 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.