Closed
Bug 1236383
Opened 9 years ago
Closed 9 years ago
Update FxA telemetry based on findings of bug 1206978
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
Firefox 46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: markh, Assigned: markh)
References
Details
Attachments
(2 files, 1 obsolete file)
12.45 KB,
patch
|
lina
:
review+
|
Details | Diff | Splinter Review |
36.84 KB,
patch
|
markh
:
review+
benjamin
:
feedback+
|
Details | Diff | Splinter Review |
Bug 1206978/https://docs.google.com/a/mozilla.com/document/d/1NaowX6dzh0iVHf5xYwHodj5c8pstyTdBOkkXApTAc6M/edit?usp=sharing has some suggestions for improving the FxA telemetry (including removal of some probes, tweaks of others, and some new probes). This bug is to implement that.
Flags: firefox-backlog+
Assignee | ||
Comment 1•9 years ago
|
||
CC Georg as I'll be asking for (non-urgent) review when he returns from PTO tomorrow.
Assignee | ||
Comment 2•9 years ago
|
||
Georg,
If you see the document referenced in comment 0, you will see that of all the probes we collect for Sync and FxA, we've decided to remove some (where the value is low and we can get rough figured from the server), add some (where the results were ambigious), and make a few never expire (where we consider them "core health" indicators and bug 1234415 is to create a dashboard for them). I hope none of these are particularly controversial, but I'm happy to further explain any that are.
(I can't flag Georg at the moment but his PTO ends tomorrow (today for me ;) and I'll flag him then.
Kit,
You landed these probes in the first place, so it makes sense for you to give it a quick look too if you don't mind.
Assignee | ||
Comment 3•9 years ago
|
||
This patch removes the second param to checkServerError as it is no longer used. Kit originally added this when the probes landed, so requesting review from him.
Attachment #8703491 -
Flags: review?(kcambridge)
Comment 4•9 years ago
|
||
Comment on attachment 8703490 [details] [diff] [review]
0001-Bug-1236383-part-1-remove-and-rework-some-Sync-FxA-t.patch
Review of attachment 8703490 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good! Just a few nits.
::: services/fxaccounts/FxAccountsClient.jsm
@@ -427,3 @@
> Services.telemetry.getKeyedHistogramById(
> "FXA_HAWK_ERRORS").add(path);
> - } else if (error.code >= 500 || error.code in STATUS_CODE_TO_OTHER_ERRORS_LABEL) {
Could you remove `STATUS_CODE_TO_OTHER_ERRORS_LABEL`, too, please?
::: services/sync/modules/browserid_identity.js
@@ +496,4 @@
> result = STATUS_OK;
> } else {
> result = LOGIN_FAILED_LOGIN_REJECTED;
> + Services.telemetry.getHistogramById("WEAVE_HAS_NO_KEYS_WHEN_UNLOCKED").add(1);
I hope we see more useful numbers for this one. :-)
::: toolkit/components/telemetry/Histograms.json
@@ +9661,3 @@
> "kind": "count",
> "releaseChannelCollection": "opt-out",
> + "description": "Errors encountered fetching Sync keys, including network errors."
Looks like this isn't recorded for network errors anymore.
Attachment #8703490 -
Flags: review?(kcambridge) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8703491 [details] [diff] [review]
0002-Bug-1236383-part-2-remove-the-now-unused-2nd-param-t.patch
Review of attachment 8703491 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8703491 -
Flags: review?(kcambridge) → review+
Comment 6•9 years ago
|
||
Comment on attachment 8703490 [details] [diff] [review]
0001-Bug-1236383-part-1-remove-and-rework-some-Sync-FxA-t.patch
Georg, welcome back! :-) Could you take a look at this when it's convenient, please?
Attachment #8703490 -
Flags: review?(gfritzsche)
Comment 7•9 years ago
|
||
Thanks :)
Sure, i'll catch up on this and its background tomorrow.
Comment 8•9 years ago
|
||
Comment on attachment 8703490 [details] [diff] [review]
0001-Bug-1236383-part-1-remove-and-rework-some-Sync-FxA-t.patch
Review of attachment 8703490 [details] [diff] [review]:
-----------------------------------------------------------------
I assume its sufficient for me to look over the Histograms.json changes.
The overview document listing the status of the individual existing probes is great.
Is there a similar overview listing out the probes that need to be added?
This seems to have a good plan for monitoring etc. in place and looks reasonable to me.
Did a data collection peer have a look over the plan to sign off on it (bsmedberg or ally, vladan is on PTO)?
::: toolkit/components/telemetry/Histograms.json
@@ +9600,5 @@
> "description": "Time spent waiting for a navigator.requestMediaKeySystemAccess call to fail."
> },
> "FXA_CONFIGURED": {
> "alert_emails": ["fx-team@mozilla.com"],
> + "expires_in_version": "never",
Add bug_numbers here too pointing to this bug?
E.g. the document linked here could be pretty helpful if anyone needs to dig.
@@ +9616,4 @@
> },
> "FXA_HAWK_ERRORS": {
> "alert_emails": ["fx-team@mozilla.com"],
> + "expires_in_version": "49",
Add bug_numbers? Ditto for the ones below.
Attachment #8703490 -
Flags: review?(gfritzsche) → feedback+
Assignee | ||
Comment 10•9 years ago
|
||
I've made the changes requested by both Kit and Georg and I'm carrying r+ from Kit forward.
Benjamin, I'm looking for data-steward approval - can you please have a look or delegate to someone else?
This patch is adjusting some of the telemetry for Sync/FxA. The reasoning for these changes can be found at https://docs.google.com/a/mozilla.com/document/d/1NaowX6dzh0iVHf5xYwHodj5c8pstyTdBOkkXApTAc6M/edit?usp=sharing, and the ongoing use and monitoring these probes can be found in bug 1232050 comment 10.
Summary:
* Keys WEAVE_CUSTOM_LEGACY_SERVER_CONFIGURATION, WEAVE_CUSTOM_FXA_SERVER_CONFIGURATION, WEAVE_CUSTOM_TOKEN_SERVER_CONFIGURATION, FXA_SERVER_ERRORS, TOKENSERVER_AUTH_ERRORS, WEAVE_CAN_FETCH_KEYS and WEAVE_FXA_KEY_FETCH_ERRORS have been removed.
* FXA_CONFIGURED and WEAVE_ENGINE_SYNC_ERRORS are set to "never" expire as they will be a key measurement for ongoing Sync health.
* FXA_UNVERIFIED_ACCOUNT_ERRORS has been replaced with FXA_SECURE_CREDENTIALS_SAVE_WITH_MP_LOCKED to more accurately measure what we want to measure. Expires in 49.
* WEAVE_HMAC_ERRORS has been replaced with WEAVE_FXA_KEY_FETCH_AUTH_ERRORS to more accurately measure what we want to measure. Expires in 49.
* WEAVE_STORAGE_AUTH_ERRORS has been replaced with WEAVE_HAS_NO_KEYS_WHEN_UNLOCKED to more accurately measure what we want to measure. Expires in 49.
* FXA_HAWK_ERRORS, WEAVE_ENGINE_APPLY_NEW_FAILURES, WEAVE_ENGINE_APPLY_FAILURES has been set to expire in 49 (was 47) as we continue to analyze the data given other changes that should shift these metrics.
Attachment #8706211 -
Flags: review+
Attachment #8706211 -
Flags: feedback?(benjamin)
Assignee | ||
Updated•9 years ago
|
Attachment #8703490 -
Attachment is obsolete: true
Comment 11•9 years ago
|
||
Comment on attachment 8706211 [details] [diff] [review]
0002-Bug-1236383-part-1-remove-and-rework-some-Sync-FxA-t.patch
As with WEAVE_CONFIGURED in the other bug, I expect that we should do something better with FX_CONFIGURED so that it's recorded properly in subsessions, so that deserves a followup.
Attachment #8706211 -
Flags: feedback?(benjamin) → feedback+
Assignee | ||
Comment 12•9 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #11)
> As with WEAVE_CONFIGURED in the other bug, I expect that we should do
> something better with FX_CONFIGURED so that it's recorded properly in
> subsessions, so that deserves a followup.
I opened bug 1238810
Comment 13•9 years ago
|
||
Comment 14•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2e8b18c4a327
https://hg.mozilla.org/mozilla-central/rev/b7d00293390b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Comment 17•9 years ago
|
||
[bugday-20160323]
Status: RESOLVED,FIXED -> UNVERIFIED
Comments:
STR: Not clear.
Developer specific testing
Component:
Name Firefox
Version 46.0b9
Build ID 20160322075646
Update Channel beta
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
OS Windows 7 SP1 x86_64
Expected Results:
Developer specific testing
Actual Results:
As expected
You need to log in
before you can comment on or make changes to this bug.
Description
•