Add event telemetry for when logins.json.corrupt is created
Categories
(Toolkit :: Password Manager, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox79 | --- | fixed |
People
(Reporter: MattN, Assigned: prathiksha)
References
()
Details
(Whiteboard: [passwords:telemetry])
Attachments
(3 files, 1 obsolete file)
We hear the odd report of logins being lost occasionally but we don't know the cause (e.g. hard drive issues, deletion of files in the user profile, A/V blocking access to logins.json. etc.). It would be useful to understand how many of these are because we couldn't read logins.json as JSON vs. the file not existing anymore. Having a separate event for this is much easier than trying to determine if the user experience this data loss by looking at the number of logins over time.
This should probably be implemented with bug 1546443 so we can more easily understand how many logins were lost and whether the user was able to recover.
| Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
•
|
||
Ah, we're not using that, so adding NI to ensure this is part of our prioritization in our next planning meeting (for 73/74).
| Reporter | ||
Comment 2•5 years ago
|
||
storage-json.js uses LoginStore.jsm which uses JSONFile.jsm. JSONFile.jsm isn't only used for logins so we need to take that into account.
https://searchfox.org/mozilla-central/rev/8827278483c337667cdfb238112eb1be397dd102/toolkit/modules/JSONFile.jsm#217-228 is where .corrupt is created but we should probably record in the ex.becauseNoSuchFile case too in case A/V software pretends that the file doesn't exist. Probably we can use one event method but give more details as part of the event. See existing pwmgr events at https://searchfox.org/mozilla-central/rev/8827278483c337667cdfb238112eb1be397dd102/toolkit/components/telemetry/Events.yaml#623
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
CCing some Sync folks because logins.json errors affect Sync as well (we store Sync keys in the login manager, and passwords lost to corruption can be redownloaded from the Sync server—though it doesn't do that automatically yet, either), and we'd love to see these queries in a dashboard! 😊
| Assignee | ||
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
| Assignee | ||
Comment 7•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Backed out changeset 73d805c4e78c (Bug 1599567) for causing failures in est_event_ping.py CLOSED TREE
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=307089009&repo=autoland&lineNumber=2109
Backout: https://hg.mozilla.org/integration/autoland/rev/0bc1985a0d9484996fd971f77eaac212b2010e5d
| Assignee | ||
Comment 10•5 years ago
|
||
Looks like this patch exposes a bug in that test that caused this patch to be backed out. See Bug 1648457.
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 13•5 years ago
|
||
Fixes the console warnings for files not listed as allowed objects in Events.yaml.
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
| bugherder | ||
| Reporter | ||
Updated•5 years ago
|
Description
•