Closed
Bug 1120874
Opened 9 years ago
Closed 9 years ago
Telemetry: Record the proportion of saved signons without usernames
Categories
(Toolkit :: Password Manager, defect, P1)
Toolkit
Password Manager
Tracking
()
People
(Reporter: MattN, Assigned: Margaret)
References
Details
User Story
* In order to measure the impact of fixing bug 1016051 and allowing users to override/edit the saved username value through the UI, it's useful to know the percentage of saved signons that don't have a username associated with them. It's easy to get in this state if a password is first saved on a password reset or other page without the user's username in a field. This also helps measure the impact of the username portion of bug 1120129 although less so since we may still save some other non-username input if one is present so the presence of a username doesn't necessarily mean it's correct.
Attachments
(1 file)
2.25 KB,
patch
|
MattN
:
review+
lmandel
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
No description provided.
Flags: firefox-backlog+
Reporter | ||
Comment 1•9 years ago
|
||
This isn't necessarily easy if we want to avoid seemingly random MP prompts while telemetry is gathered.
Points: --- → 5
Flags: qe-verify-
Comment 2•9 years ago
|
||
> This isn't necessarily easy if we want to avoid seemingly random MP prompts while telemetry is gathered.
Hilarious punishment for choosing to use MP.
Sync has a mechanism for detecting if MP is enabled, which we could use here, too.
Reporter | ||
Comment 3•9 years ago
|
||
Yeah, detecting whether it's unlocked isn't hard but it's a matter of whether we want to skew the data or not since IIRC double-digit % of our (sync?) users use MP. To avoid most skewing we could cache the value from the last time MP was unlocked.
Comment 4•9 years ago
|
||
Last time I measured, MP usage was low single digits: https://mail.mozilla.org/pipermail/sync-dev/2014-September/000985.html
Reporter | ||
Comment 5•9 years ago
|
||
OK, it seems like it still is around 2% of all users and 5-6% of Sync users. I'm not sure where I heard a number around 10% before. It's still probably enough people that I think if it's easy to avoid the prompt I think we should.
Comment 6•9 years ago
|
||
We certainly shouldn't trigger a random master password prompt due to telemetry, but I think it's safe to just skip collecting the data if a master password is set. Or, more specifically, skip it when storage.isLoggedIn == false, which is just when you have a master password but haven't entered it yet. I don't think master password users are likely to skew this data significantly.
Updated•9 years ago
|
Priority: -- → P1
Updated•9 years ago
|
Assignee: nobody → margaret.leibovic
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8553355 -
Flags: review?(MattN+bmo)
Reporter | ||
Comment 8•9 years ago
|
||
Comment on attachment 8553355 [details] [diff] [review] Create telemetry histogram for whether or not usernames are stored with saved logins Review of attachment 8553355 [details] [diff] [review]: ----------------------------------------------------------------- Note that you'll need to rebase over ally's patch ::: toolkit/components/telemetry/Histograms.json @@ +7165,5 @@ > }, > + "PWMGR_USERNAME_PRESENT": { > + "expires_in_version": "never", > + "kind": "boolean", > + "description": "A login saved with a username (as opposed to no username)" Nit: Since we're recording both true and false now, how about: "Whether a saved login has a username".
Attachment #8553355 -
Flags: review?(MattN+bmo) → review+
Assignee | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/fb9f35edd87a
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fb9f35edd87a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•9 years ago
|
Iteration: --- → 38.1 - 26 Jan
Reporter | ||
Comment 11•9 years ago
|
||
Comment on attachment 8553355 [details] [diff] [review] Create telemetry histogram for whether or not usernames are stored with saved logins Approval Request Comment [Feature/regressing bug #]: Improvements to password manager in 2015 - Bug 1121127 [User impact if declined]: Possibly less ideal decisions based on lack of data. [Describe test coverage new/current, TreeHerder]: No tests for the telemetry since it's outside the normal code flow so shouldn't break other aspects of password manager if an exception occurs. No problems have been reported on Nightly and data looks good there. [Risks and why]: Low risk since it's new code only run during the telemetry gathering phase. [String/UUID change made/needed]: None
Attachment #8553355 -
Flags: approval-mozilla-beta?
Attachment #8553355 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Comment 12•9 years ago
|
||
Comment on attachment 8553355 [details] [diff] [review] Create telemetry histogram for whether or not usernames are stored with saved logins I'm not sure about the value of uplifting this patch to Beta at this point in the cycle. (I'll leave it to Sylvestre to make the call on that.) Happy to take this on Aurora. Aurora+
Attachment #8553355 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 14•9 years ago
|
||
Does anyone else find it curious that the shape of this probe is very similar to PWMGR_SAVING_ENABLED? https://telemetry.mozilla.org/#filter=nightly%2F38%2FPWMGR_SAVING_ENABLED%2Fsaved_session%2FFirefox&aggregates=multiselect-all!Submissions&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph https://telemetry.mozilla.org/#filter=nightly%2F38%2FPWMGR_USERNAME_PRESENT%2Fsaved_session%2FFirefox&aggregates=multiselect-all!Submissions&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph
Comment 15•9 years ago
|
||
Comment on attachment 8553355 [details] [diff] [review] Create telemetry histogram for whether or not usernames are stored with saved logins Too late for beta.
Attachment #8553355 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
You need to log in
before you can comment on or make changes to this bug.
Description
•