There's some shared infrastructure here with bug 1883642 (for the metrics.yaml file, for setting up the private method in BackupService that does measurement, and for test infrastructure). This is the set of things to measure the size of: * cert9.db * key4.db * logins.json * logins-backup.json * autofill-profiles.json * credentialstate.sqlite Similar to bug 1883655 and bug 1883642, this is a matter of adding some quantity probes, and then stat'ing these files, converting the measurement to kilobytes, and recording them to the Glean probes. We'll need a data-review and tests. Don't forget about `./mach data-review` to help you out!
Bug 1883736 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
There's some shared infrastructure here with bug 1883642 (for the metrics.yaml file, for setting up the private method in BackupService that does measurement, and for test infrastructure). This is the set of things to measure the size of: * cert9.db * key4.db * logins.json * logins-backup.json * autofill-profiles.json * credentialstate.sqlite * pkcs11.txt Similar to bug 1883655 and bug 1883642, this is a matter of adding some quantity probes, and then stat'ing these files, converting the measurement to kilobytes, and recording them to the Glean probes. We'll need a data-review and tests. Don't forget about `./mach data-review` to help you out!