data_storage.entries metric should be collected with `set`, not `add`
Categories
(Core :: Security: PSM, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: keeler, Assigned: keeler)
Details
(Whiteboard: [psm-assigned])
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
2.87 KB,
text/plain
|
jhirsch
:
data-review+
|
Details |
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
.
Comment 1•1 year ago
|
||
:keeler do you want to track this as an S1?
Setting S1 as the severity automatically requests tracking.
![]() |
Assignee | |
Comment 2•1 year ago
|
||
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
![]() |
Assignee | |
Comment 3•1 year ago
|
||
I guess since this doesn't affect users directly, it's not an S1.
![]() |
Assignee | |
Comment 4•1 year ago
|
||
Comment on attachment 9371190 [details]
request.md
data-review+
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes.
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes.
- If the request is for permanent data collection, is there someone who will monitor the data over time?
Yes, dkeeler@mozilla.com will monitor.
- 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.
- Is the data collection request for default-on or default-off?
Default-on.
- 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.
- Is the data collection covered by the existing Firefox privacy notice?
Yes.
- Does the data collection use a third-party collection tool?
No.
Comment 7•1 year ago
|
||
bugherder |
Description
•