-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Private browsing mode URIs are not included in total URI count metric #17089
Comments
Desktop now has an additional probe, Of course, that we now have two probes is just an accident of history - the old total_uri_count probe does not provide us with any information not covered by the new probe. We've elected to keep both of them (for now) so that time series of I would say if you need your current time series of uri counts to not break or change suddenly, then consider adding an additional probe. Or if version uptake is slow enough that a change to the current probe will take a long time to get adopted (if this is the case, then your aggregates will contain a mix of old and new behavior for an extended period which is not ideal). If this is less of a concern (new product, etc) then it probably wouldn't be so bad to change the behavior of the current probe. If we do this, we would want to make the date of the change clear in the metrics yaml file so it shows up in the probe dictionary. That said, the conservative thing to do would probably add a new probe, then after awhile you can let the old one expire. Downside is you've now added some clutter, two probes doing similar things. Other facts about how the uri_count probes behave on desktop (I'm paraphrasing some notes from a conversation w/ one of the desktop engineers about this last year): Basically any navigation of a toplevel document in any element will count, independent of whether the tab is visible, the window minimized, or whether the load was user-initiated or not. Examples of what will cause the probe to increment:
He wasn't 100% sure about twitter and other social media, but: where the site is just reloading content, but keeping |
Agreed. I'll add a new probe. Thanks! |
Hi, verified as fixed on
|
Pageloads are excluded from the total URI count metric if they occur in a private browsing tab:
fenix/app/src/main/java/org/mozilla/fenix/TelemetryMiddleware.kt
Lines 62 to 65 in d5b33ae
In https://bugzilla.mozilla.org/show_bug.cgi?id=1535169 we made a case to stop excluding PBM from URI count tallies in Firefox desktop, and it would make sense to make a symmetric change in Fenix. Ehsan's
governance
email from 2018 explains why we've historically taken a conservative approach to instrumenting PBM and also why that approach is inconsistent. Our PBM threat model doesn't include preventing an adversary from observing that PBM activity occurred, and it's real activity that we should reflect in our metrics.In particular, this makes it hard to use URI counts as a measure of real user activity.
@magorlick, do you have any concerns about changing the definition of the existing metric, or would you prefer to stand up a new "complete total URI count" metric that includes both PBM and non-PBM activity?
Acceptance Criteria
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: