pagespeed_exporter icon indicating copy to clipboard operation
pagespeed_exporter copied to clipboard

Allow lighthouse categories exclusion (or inclusion)

Open astronaute77 opened this issue 5 years ago • 3 comments

Hi,

As per the PSI documentation, by default only "performance" lighthouse category is included in the report: https://developers.google.com/speed/docs/insights/v5/reference/pagespeedapi/runpagespeed

It would be great if we could also have the same default behavior in the exporter, with the possibility to add other categories through configuration (or URL parameters).

astronaute77 avatar Jul 13 '19 16:07 astronaute77

@astronaute77 so currently it includes all 5 as provided in the screenshot

https://github.com/foomo/pagespeed_exporter/raw/assets/dashboard.png?raw=true

Am I missing something? (except exclusion?)

smartinov avatar Jul 16 '19 13:07 smartinov

@astronaute77 so currently it includes all 5 as provided in the screenshot

https://github.com/foomo/pagespeed_exporter/raw/assets/dashboard.png?raw=true

Am I missing something? (except exclusion?)

Currently, everything is included by default. The idea is to have default google behavior as default (only performance) and be able to include the rest through configuration if needed.

Or, if you really want to have all included as default, we should have a way to exclude.

Also, PWA can often timeout.

astronaute77 avatar Jul 16 '19 14:07 astronaute77

I fully aggree with astronaute77 proposition.

PhilippeR avatar Apr 28 '20 19:04 PhilippeR