Closed Bug 1873080 Opened 4 months ago Closed 4 months ago

data_storage.entries metric should be collected with `set`, not `add`

Categories

(Core :: Security: PSM, defect)

defect

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: keeler, Assigned: keeler)

Details

(Whiteboard: [psm-assigned])

Attachments

(2 files)

The data_storage.entries metric is collected using add, which means we get useless results, since we're essentially collecting some unknown multiple of the number of data storage entries. We should be using set.

:keeler do you want to track this as an S1?
Setting S1 as the severity automatically requests tracking.

Flags: needinfo?(dkeeler)

Before this patch, data_storage.entries was a labeled counter (where the label
identified the nsIDataStorage being measured). Counters only support adding to
the value being tracked, so in practice what was measured was approximately
some unknown multiple of the number of entries in each nsIDataStorage.

This patch splits data_storage.entries into data_storage.alternate_services,
data_storage.client_auth_remember_list, and
data_storage.site_security_service_state, each of which are quantities. This
way, we can measure exactly how many entries are in each nsIDataStorage.

Depends on D197709

I guess since this doesn't affect users directly, it's not an S1.

Severity: S1 → S4
Flags: needinfo?(dkeeler)
Priority: P1 → --
Attached file request.md
Attachment #9371190 - Flags: data-review?(jhirsch)

Comment on attachment 9371190 [details]
request.md

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, dkeeler@mozilla.com 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 2, interaction 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 #9371190 - Flags: data-review?(jhirsch) → data-review+
Pushed by dkeeler@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/567f5a81c441
change data_storage.entries metric to quantity metrics r=jschanck
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: