Skip to content

Parfuemerie-Douglas/metric-collector-lighthouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Little bash dockerized application that run lighthouse tests, get the metrics and upload to InfluxDB

Getting Started

You need the next software:

  • Development:
    • Docker
    • make
    • InfluxDB
  • Production:
    • Docker
    • make
    • InfluxDB
    • Kubernetes Cronjobs

Build and Test

Run make build and after this run it with make run. If you need to debug the execution you can use make shell

The hosts that you want to analize can be defined in the environment variables, we defined four categories, HOSTS_HOME home pages, HOSTS_PRODUCT metric for products pages, HOSTS_SEARCH metrics for search pages and HOSTS_BRAND metrics for brands pages

You can use the crontabs/crontab_metric_lighthouse_performance.yaml to create the kubernetes cronjob and forget about the execution :D

License

You can check the license here

About

Script to get Lighthouse metrics and upload to InfluxDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published