forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1539262 - Support multiple origins in the same metric in Origin T…
…elemetry r=janerik Since reporting intervals are ~1 day/1 session, the Origin Telemetry prototype must support the possibility that multiple origins will be recorded for the same metric. For example, if the user is sampled to record two pageloads where the same ultra-common tracker is present and blocked we must record that tracker as having been blocked twice. This requires a bit of a shift in storage and plaintext snapshot. Instead of being an array of origins with duplicates, now we're storing origins as a bag (aka multiset, aka hashtable of origin->count). Differential Revision: https://phabricator.services.mozilla.com/D25283 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
4 changed files
with
147 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.