Closed Bug 1883739 Opened 9 months ago Closed 8 months ago

Add disk size measurements for all general user preference and user permission stores

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: mconley, Assigned: kpatenio)

References

Details

(Whiteboard: [fidefe-device-migration])

Attachments

(2 files, 1 obsolete file)

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:

  • prefs.js
  • xulstore.json
  • permissions.sqlite
  • content-prefs.sqlite
  • containers.json
  • handlers.json
  • search.json.mozlz4
  • user.js
  • chrome/userChrome.css
  • chrome/userContent.css

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!

Severity: -- → N/A
Priority: -- → P3
Blocks: 1885939
Blocks: 1885941
Assignee: nobody → kpatenio
Status: NEW → ASSIGNED
Attachment #9392349 - Flags: data-review?(jhirsch)

Comment on attachment 9392349 [details]
Data collection request

data-review+

  1. Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?

Yes.

  1. Is there a control mechanism that allows the user to turn the data collection on and off?

Yes.

  1. If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, mconley will monitor.

  1. Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, technical data.

  1. Is the data collection request for default-on or default-off?

Default on.

  1. Does the instrumentation include the addition of any new identifiers (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?

No.

  1. Is the data collection covered by the existing Firefox privacy notice?

Yes.

  1. Does the data collection use a third-party collection tool?

No.

Attachment #9392349 - Flags: data-review?(jhirsch) → data-review+
Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4816ddcf03ba Add disk size measurements for all general user preference and user permission stores. r=backup-reviewers,mconley
Regressions: 1886552
Attachment #9392125 - Attachment description: Bug 1883739 - Add disk size measurements for all general user preference and user permission stores. r=#backup-reviewers! → WIP: Bug 1883739 - Add disk size measurements for all general user preference and user permission stores. r=#backup-reviewers!
Attachment #9392125 - Attachment description: WIP: Bug 1883739 - Add disk size measurements for all general user preference and user permission stores. r=#backup-reviewers! → Bug 1883739 - Add disk size measurements for all general user preference and user permission stores. r=#backup-reviewers!

Comment on attachment 9392861 [details]
WIP: Bug 1883739 - Add disk size measurements for all general user preference and user permission stores. r=#backup-reviewers!

Revision D205503 was moved to bug 1883747. Setting attachment 9392861 [details] to obsolete.

Attachment #9392861 - Attachment is obsolete: true
Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/30e247121546 Add disk size measurements for all general user preference and user permission stores. r=backup-reviewers,mconley
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Flags: needinfo?(kpatenio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: