Closed Bug 1803363 Opened 2 years ago Closed 2 years ago

[DNR] Add some telemetry probes for the rule store

Categories

(WebExtensions :: Request Handling, task, P2)

task

Tracking

(firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: rpl, Assigned: rpl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(10 files, 2 obsolete files)

5.17 KB, text/plain
chutten
: data-review+
Details
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

As a followup to Bug 1745763 we are going to consider adding some telemetry probes related to the DNR rule store, so that we can gather some data about the amount of data stored, incidence of errors of loading and saving DNR rules data to disk, time to load the rules on extension startup and actual number of rules loaded from disk.

The telemetry data to be collected is meant to be used:

  • as a base line to assess changes (as an example performance improvements or bumps to the rule limits being considered)
  • assess incidence of certain issue (e.g. errors on saving and load the rules from disk)
Summary: Add some telemetry probes for the declarativeNetRequest rule store → [DNR] Add some telemetry probes for the rule store
Attached file bug1803363_request.md
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Attachment #9325702 - Flags: data-review?(chutten)

Comment on attachment 9325702 [details]
bug1803363_request.md

PRELIMINARY NOTES:
Have you head of ./mach data-review? It can help you write your Data Review Requests. More info here and ./mach help data-review.

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

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

Yes. This collection can be controlled through Firefox's Preferences.

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

No. This collection will expire in six months.

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.

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

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

No.

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

Yes.

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

No.


Result: datareview+

Attachment #9325702 - Flags: data-review?(chutten) → data-review+
Attachment #9325851 - Attachment description: WIP: Bug 1803363 - Mirror ExtensionDNRStore glean labeled counter metrics into unified telemetry scalars. → Bug 1803363 - Mirror ExtensionDNRStore glean labeled counter metrics into unified telemetry scalars. r?robwu!
Attachment #9325852 - Attachment description: WIP: Bug 1803363 - Mirror ExtensionDNR glean distribution metrics into unified telemetry histograms. → Bug 1803363 - Mirror ExtensionDNR glean distribution metrics into unified telemetry histograms. r?robwu!
Attachment #9325853 - Attachment description: WIP: Bug 1803363 - Mirror ExtensionDNR glean quantity metrics into unified telemetry scalars. → Bug 1803363 - Mirror ExtensionDNR glean quantity metrics into unified telemetry scalars. r?robwu!
Attachment #9325845 - Attachment description: Bug 1803363 - Record telemetry probes on reading and writing ExtensionDNRStore startup cache data. r?robwu! → Bug 1803363 - Record telemetry probes on ExtensionDNRStore validating rules and reading/writing startup cache data. r?robwu!
Attachment #9325846 - Attachment is obsolete: true

Comment on attachment 9326904 [details]
Bug 1803363 - Fix dynamic rules not converted back into Rule class instances when loaded back from DNR store file. r?robwu!

Revision D174641 was moved to bug 1826383. Setting attachment 9326904 [details] to obsolete.

Attachment #9326904 - Attachment is obsolete: true
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/bec053ab0b67 Record telemetry probes on ExtensionDNRStore validating rules and reading/writing startup cache data. r=robwu https://hg.mozilla.org/integration/autoland/rev/58ed4a29bbf9 Record labeled counters telemetry probes on startup cache entries hit and miss. r=robwu https://hg.mozilla.org/integration/autoland/rev/89526c8b5f1c Record timing distribution telemetry probe time to completes DNR rules evaluation. r=robwu https://hg.mozilla.org/integration/autoland/rev/1a398e99af57 Record metrics related to the amount of DNR rules enabled during DNR rule evaluation. r=robwu https://hg.mozilla.org/integration/autoland/rev/6abe9eb50d9d Mirror ExtensionDNRStore glean distribution metrics into unified telemetry histograms. r=robwu https://hg.mozilla.org/integration/autoland/rev/55631b70780c Mirror ExtensionDNRStore glean labeled counter metrics into unified telemetry scalars. r=robwu https://hg.mozilla.org/integration/autoland/rev/87e9ee1bf84d Mirror ExtensionDNR glean distribution metrics into unified telemetry histograms. r=robwu https://hg.mozilla.org/integration/autoland/rev/1902bd8f971d Mirror ExtensionDNR glean quantity metrics into unified telemetry scalars. r=robwu https://hg.mozilla.org/integration/autoland/rev/b14406c4054c Applied some more small improvements evaluatRulesCountMax test coverage. r=robwu
Blocks: 1826813
See Also: → 1826817
See Also: → 1850890
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: