Skip to content

Commit

Permalink
Add browser timing metrics (#263)
Browse files Browse the repository at this point in the history
* Upgrade puppeteer and typescript

* Upgrade prettier

* Add latest TS

* Use PUPPETEER_REVISIONS

* Update revisions path

* Performance issue investigation + add metrics

* clean up timing metrics

* fixes

* update dev flags

* clean up

* add metric for reusable mode

* update image rendering service dashboard

* add back waitUntil

* fix Docker config volume

* revert changes to Docker volume

* fix change to HA docker-compose

Co-authored-by: Clarity-89 <homes89@ukr.net>
  • Loading branch information
AgnesToulet and Clarity-89 committed Aug 31, 2021
1 parent d38ae75 commit 03dd4e8
Show file tree
Hide file tree
Showing 12 changed files with 349 additions and 131 deletions.
3 changes: 2 additions & 1 deletion default.json
Expand Up @@ -38,6 +38,7 @@
},

"verboseLogging": false,
"dumpio": false
"dumpio": false,
"timingMetrics": false
}
}
5 changes: 3 additions & 2 deletions dev.json
Expand Up @@ -37,7 +37,8 @@
"maxConcurrency": 5
},

"verboseLogging": false,
"dumpio": true
"verboseLogging": true,
"dumpio": false,
"timingMetrics": true
}
}
6 changes: 3 additions & 3 deletions devenv/docker/ha/config.json
Expand Up @@ -2,7 +2,7 @@
"service": {
"port": 8081,
"metrics": {
"enabled": false,
"enabled": true,
"collectDefaultMetrics": true,
"requestDurationBuckets": [1, 5, 7, 9, 11, 13, 15, 20, 30]
}
Expand All @@ -12,11 +12,11 @@
"chromeBin": null,
"args": ["--no-sandbox", "--disable-gpu"],
"ignoresHttpsErrors": false,
"timingMetrics": true,
"mode": "default",
"clustering": {
"mode": "browser",
"maxConcurrency": 5
}
},
"timingMetrics": true
}
}

0 comments on commit 03dd4e8

Please sign in to comment.