garie-lighthouse icon indicating copy to clipboard operation
garie-lighthouse copied to clipboard

custom Data collect

Open fadomire opened this issue 5 years ago • 1 comments

Hello, thanks for this great project

it would be cool if we could choose the Data collected

typically, i'm using performance.mark and performance.measure to track key execution time in my app

those measure are reported in lighthouse report as "User Timing marks and measures" in the performance part for e.g : Name | Type | Start Time | Duration ui:init | Measure | 848.8 ms | 214.87 ms

i'd like to include them in Garie dashboards

fadomire avatar Mar 01 '19 16:03 fadomire

after taking a look at the code, it seems collected audits are hardcoded const auditData = ['errors-in-console', 'time-to-first-byte', 'interactive', 'redirects']; the audit i want to collect is user-timings i think

maybe the auditData can be specified via config ?

fadomire avatar Mar 01 '19 17:03 fadomire