foomo / pagespeed_exporter

Prometheus pagespeed exporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow lighthouse categories exclusion (or inclusion)

astronaute77 opened this issue · 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 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?)

@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.

I fully aggree with astronaute77 proposition.