ElectronPDF came with a stats dashboard (available here: https://grafana.wikimedia.org/dashboard/db/mediawiki-electronpdfservice?orgId=1)
The new Chromium-PDF service should provide at least the same set of stats:
Acceptance criteria
We would be tracking the following:
- rejected jobs
- queued jobs by type (desktop|mobile]
- size of the queue when new job comes in
- number of rendered jobs (daily, monthly)
- number of failed renderings
- time each job spends in the queue
- time each job spends in the rendering state
- might be helpful: generated pdf size
[Please do not add to this list, once this task is done additional analytics can be easier]
Sign off steps
- Set up dashboard.