GoogleChrome / lighthouse-ci

Automate running Lighthouse for every commit, viewing the changes, and preventing regressions
Apache License 2.0
6.41k stars 644 forks source link

Add possibility to configure which sections will be displayed on line graphs #158

Open WebCloud opened 4 years ago

WebCloud commented 4 years ago

RIght now, the project page has four default sections that will be shown as line graphs to follow progression over time. It would be nice to allow the lighthouserc to expose and configure which sections from the report you'd like to keep track of as key metrics for your project.

Specially with the hability to create new sections with stack packs and plugins to monitor pain points specific to the application in quesion, this would be a nice feature to have 😄

Zizzamia commented 4 years ago

Great point, @WebCloud what are the specific metrics you felt were more important to keep track of separately?

WebCloud commented 4 years ago

Hey @Zizzamia!

One of them is Largest Contentful Paint. But also it would be interesting to see a graph for custom metrics we generate. Cause normally those are very important for the product SLAs on performance and it would be nice to have a visual representation of the progress on those over time.

WebCloud commented 4 years ago

At Spotify we are building a reporting script based on the apis from lhci, to report back to the PR comparing the LH data from the PR against master. And one of the things we are trying to keep track on benchmarking against master are those custom perfomrance metrics that we are generating.

Zizzamia commented 4 years ago

Yeah, that's dope! I still struggle with creating custom performance metric for Lab, it would be dope have some documentation around that. For now, I just add custom metrics at RUM time with Perfume.