Closed Bug 1830058 Opened 2 years ago Closed 2 years ago

Extend query_stripping_count_by_param to account for updated query strip list

Categories

(Core :: Privacy: Anti-Tracking, task, P2)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: emz, Assigned: abhishekmadan, Mentored, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(3 files)

We've recently extended the list, let's extend the histogram so we can see the distribution of known query params stripped.

To do this, we need to extend the list here: https://searchfox.org/mozilla-central/rev/8329a650e3b4f866176ae54016702eb35fb8b0d6/toolkit/components/telemetry/Histograms.json#13508-13515 to include the new params in https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/query-stripping/records (data[0]).
Note that all histogram labels need to be prefixed with param_. So if you want to add a query param foo to the telemetry probe you need to add param_foo.

This test also needs to be updated to account for the extended label list: https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/test/browser/browser_urlQueryStringStripping_telemetry_2.js

Hi,

I would like to work on this bug

This would be my first bug -- thanks so much for the detailed instructions

Thanks for taking it! I've assigned you. Let me know if you have any questions.

Assignee: nobody → aakashshah
Status: NEW → ASSIGNED
Priority: P3 → P2

can you point a link to how to send this for review? I have mercurial installed, just don't know the workflow

reading this: https://firefox-source-docs.mozilla.org/contributing/reviews.html but still don't know how to get my changset linked to this bug

also curious how to run the test locally

I recommend to follow the instructions here: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

You need to link your commit to the bug by adding the but number in the commit message, see https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html#commit-message

After that you can use moz-phab to submit the patch for review: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html#to-submit-a-patch

Here is how you can run tests locally: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html#to-test-a-change-locally

Happy to answer any additional questions!

Flags: needinfo?(aakashshah)

Depends on D177667

Blocks: 1832525

Aakash are you still working on it? If not I would like to assign the bug to somebody else.

Hmm, I don't see any recent activity and there is still a pending NI. It would be good to get telemetry coverage sooner rather than later. Abhishek, do you have time to take over this bug? It's fairly straightforward.

Flags: needinfo?(amadan)

I can take this bug

Flags: needinfo?(amadan)
Assignee: aakashshah → amadan
Attachment #9342506 - Attachment description: Bug 1830058 - Updated Query Strip List. r?#anti-tracking → Bug 1830058 - Extend query_stripping_count_by_param to account for updated query strip list. r?#anti-tracking
Pushed by amadan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5342bde81217 Extend query_stripping_count_by_param to account for updated query strip list. r=anti-tracking-reviewers,pbz
Pushed by amadan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e0fbfeb53e2 Extend query_stripping_count_by_param to account for updated query strip list. r=anti-tracking-reviewers,pbz
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
Flags: needinfo?(amadan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: