sitespeedio / plugin-lighthouse

Lighthouse plugin for sitespeed.io
MIT License
30 stars 19 forks source link

View Lighthouse report values on Grafana Dashboard through InfluxDB (NodeJS setup) #126

Open shrutiseth opened 10 months ago

shrutiseth commented 10 months ago

Hello. I am setting up Sitespeed.io using NodeJS since Docker installation is not allowed in my organization.

I am able to push the data to InfluxDB and visualize on Grafana using the PageSummary dashboard from here

However, I also want to view the Lighthouse report values on Grafana. The Plus1 dashboard on GitHub is configured to reach from Graphite DB.

Wanted to check, do we have any dashboard which can be imported to view Lighthouse report values using InfluxDB+Grafana using NodeJS setup?

@soulgalore

soulgalore commented 10 months ago

Hi @shrutiseth there are some lighthouse metrics that are pushed to influx if you run the lighthouse plugin: https://github.com/sitespeedio/sitespeed.io/blob/main/lib/plugins/influxdb/data-generator.js#L137-L145

So it looks the actual score and audits. For metrics I guess they could be missing a good tag at the moment to find? I haven't used Influx in a long while, sorry.