Closed Bug 1615987 Opened 5 years ago Closed 4 years ago

[Thunderbird Telemetry] collect account setup success rate

Categories

(Thunderbird :: Account Manager, task)

task
Not set
normal

Tracking

(thunderbird78+ fixed)

RESOLVED FIXED
Thunderbird 79.0
Tracking Status
thunderbird78 + fixed

People

(Reporter: mkmelin, Assigned: rnons)

Details

Attachments

(1 file, 1 obsolete file)

It would be useful to know how well we're able (or not) to set up the accounts for people. We should set up a probe to collect success of automatic setup. It should also record whether you had to do a manual (successful) setup.

Assignee: nobody → remotenonsense
Attached patch 1615987.patch (obsolete) — Splinter Review

Not sure if I understand the task correctly. This patch added a scalar probe to collect email account setup result, this probe has three keys: success_automatic, success_manual, failed

Haven't figured out how to add tests for this.

Attachment #9154469 - Flags: review?(mkmelin+mozilla)
Status: NEW → ASSIGNED
Comment on attachment 9154469 [details] [diff] [review]
1615987.patch

Review of attachment 9154469 [details] [diff] [review]:
-----------------------------------------------------------------

I think we should instead collect the source - see https://searchfox.org/comm-central/rev/e8cc4c6395d4f9e128e04fc8c4163aa09b35d731/mail/components/accountcreation/content/accountConfig.js#342-345
Let's just also in the source stop having those be numbers. That's kind of pointless in JavaScript... They could just be "user", "ispdb", "guess", "autodiscover".

Our account setup is unfortunately poorly tested, but I think you could tag the testing along in https://searchfox.org/comm-central/source/mail/test/browser/account/browser_mailAccountSetupWizard.js
Attachment #9154469 - Flags: review?(mkmelin+mozilla)
Attached patch 1615987.patchSplinter Review
  • Changed account config source to string
  • Added a small test
Attachment #9154469 - Attachment is obsolete: true
Attachment #9154849 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9154849 [details] [diff] [review]
1615987.patch

Review of attachment 9154849 [details] [diff] [review]:
-----------------------------------------------------------------

Yep, looks good to me. r=mkmelin
Attachment #9154849 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → Thunderbird 79.0

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d442cd2eee15
Collect account setup success rate. r=mkmelin DONTBUILD

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Actually we have a few sub-types of "xml". From xml-from-disk, xml-from-isp. https://searchfox.org/comm-central/rev/af886b93f1a520cb98cb6c0e3eda612a1caf2560/mail/components/accountcreation/content/emailWizard.js#732,742,761

We for the from isp case we could also distinguish which of the URLs we look at it used. And, if http or https was used. Can you file a bug for this?

Comment on attachment 9154849 [details] [diff] [review]
1615987.patch

Telemetry addition - not risky.
Attachment #9154849 - Flags: approval-comm-beta?
Comment on attachment 9154849 [details] [diff] [review]
1615987.patch

Approved for beta
Attachment #9154849 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: