Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Issue 270673003: UMA metrics - number of accounts per profile and account reconciler. (Closed)

Created:
6 years, 7 months ago by Mike Lerman
Modified:
6 years, 7 months ago
CC:
chromium-reviews, rginda+watch_chromium.org, yoshiki+watch_chromium.org, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

UMA metrics - number of accounts per profile and account reconciler. Creation of a new signin_metrics class to track components/signin UMA. BUG=357693 TEST=New histograms are called Profile.NumberOfAccountsPerProfile, Signin.ReconcilerAddedToChrome and Signin.ReconcilerAddedToCookieJar. There is also a UserCount called AccountReconcilerDifferentPrimaryAccounts. These can be viewed in chrome://histograms and chrome://user-actions respectively. The Profile one can be viewed any time a profile is opened. The others are best tested the first time you Sign In to Chrome, assuming you already were signed in to google in the content area with 1 or more accounts. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269789

Patch Set 1 : Initial Upload - Metrics, Account Reconciler and UMA configs #

Total comments: 12

Patch Set 2 : Signin Metrics becomes a namespace; formatting nits #

Total comments: 18

Patch Set 3 : Split the Reconcilor histograms in two to capture the first run separately. #

Total comments: 6

Patch Set 4 : Change histograms to have suffixes. #

Total comments: 4

Patch Set 5 : Remove non-suffixed versions of histograms. #

Patch Set 6 : Rebase #

Patch Set 7 : Fix compile error, out-of-order parameter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -1 line) Patch
M components/signin.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/signin/core/browser/account_reconcilor.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M components/signin/core/browser/account_reconcilor.cc View 1 2 3 4 5 6 5 chunks +10 lines, -0 lines 0 comments Download
A components/signin/core/browser/signin_metrics.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A components/signin/core/browser/signin_metrics.cc View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
M tools/metrics/actions/extract_actions.py View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 4 chunks +46 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
Mike Lerman
Roger can you look at the signin-specific code, and Alexei can you look at the ...
6 years, 7 months ago (2014-05-07 13:51:24 UTC) #1
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/270673003/diff/40001/components/signin/core/browser/account_reconcilor.cc File components/signin/core/browser/account_reconcilor.cc (right): https://codereview.chromium.org/270673003/diff/40001/components/signin/core/browser/account_reconcilor.cc#newcode666 components/signin/core/browser/account_reconcilor.cc:666: are_primaries_equal, first_execution_); Spacing is off. Line up all subsequent ...
6 years, 7 months ago (2014-05-07 17:05:38 UTC) #2
Mike Lerman
https://codereview.chromium.org/270673003/diff/40001/components/signin/core/browser/account_reconcilor.cc File components/signin/core/browser/account_reconcilor.cc (right): https://codereview.chromium.org/270673003/diff/40001/components/signin/core/browser/account_reconcilor.cc#newcode666 components/signin/core/browser/account_reconcilor.cc:666: are_primaries_equal, first_execution_); On 2014/05/07 17:05:38, Roger Tawa wrote: > ...
6 years, 7 months ago (2014-05-07 18:49:36 UTC) #3
Roger Tawa OOO till Jul 10th
lgtm Thanks Mike.
6 years, 7 months ago (2014-05-08 00:48:20 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/270673003/diff/70001/components/signin/core/browser/signin_metrics.cc File components/signin/core/browser/signin_metrics.cc (right): https://codereview.chromium.org/270673003/diff/70001/components/signin/core/browser/signin_metrics.cc#newcode23 components/signin/core/browser/signin_metrics.cc:23: count_added_to_token) { It seems kind of weird to log ...
6 years, 7 months ago (2014-05-08 14:39:29 UTC) #5
Mike Lerman
https://codereview.chromium.org/270673003/diff/70001/components/signin/core/browser/signin_metrics.cc File components/signin/core/browser/signin_metrics.cc (right): https://codereview.chromium.org/270673003/diff/70001/components/signin/core/browser/signin_metrics.cc#newcode23 components/signin/core/browser/signin_metrics.cc:23: count_added_to_token) { On 2014/05/08 14:39:29, Alexei Svitkine wrote: > ...
6 years, 7 months ago (2014-05-08 18:23:14 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/270673003/diff/90001/components/signin/core/browser/signin_metrics.cc File components/signin/core/browser/signin_metrics.cc (right): https://codereview.chromium.org/270673003/diff/90001/components/signin/core/browser/signin_metrics.cc#newcode23 components/signin/core/browser/signin_metrics.cc:23: UMA_HISTOGRAM_COUNTS_100("Signin.Reconciler.AddedToCookieJarFirstRun", How about Signin.Reconciler.AddedToCookieJar.FirstRun and Signin.Reconciler.AddedToCookieJar.SubsequentRun? and so on? ...
6 years, 7 months ago (2014-05-09 14:16:16 UTC) #7
Mike Lerman
https://codereview.chromium.org/270673003/diff/90001/components/signin/core/browser/signin_metrics.cc File components/signin/core/browser/signin_metrics.cc (right): https://codereview.chromium.org/270673003/diff/90001/components/signin/core/browser/signin_metrics.cc#newcode23 components/signin/core/browser/signin_metrics.cc:23: UMA_HISTOGRAM_COUNTS_100("Signin.Reconciler.AddedToCookieJarFirstRun", On 2014/05/09 14:16:16, Alexei Svitkine wrote: > How ...
6 years, 7 months ago (2014-05-09 20:13:27 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/270673003/diff/110001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/270673003/diff/110001/tools/metrics/histograms/histograms.xml#newcode23403 tools/metrics/histograms/histograms.xml:23403: +<histogram name="Signin.Reconciler.DifferentPrimaryAccountsSubsequentRun"> Simply have single entry which should be ...
6 years, 7 months ago (2014-05-09 20:18:20 UTC) #9
Mike Lerman
Thanks Alexei! https://codereview.chromium.org/270673003/diff/110001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/270673003/diff/110001/tools/metrics/histograms/histograms.xml#newcode23403 tools/metrics/histograms/histograms.xml:23403: +<histogram name="Signin.Reconciler.DifferentPrimaryAccountsSubsequentRun"> On 2014/05/09 20:18:20, Alexei Svitkine ...
6 years, 7 months ago (2014-05-09 20:24:48 UTC) #10
Alexei Svitkine (slow)
lgtm
6 years, 7 months ago (2014-05-09 20:40:33 UTC) #11
Mike Lerman
On 2014/05/09 20:40:33, Alexei Svitkine wrote: > lgtm Thanks for the review and feedback, alexei!
6 years, 7 months ago (2014-05-09 20:41:33 UTC) #12
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-09 20:41:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/270673003/120001
6 years, 7 months ago (2014-05-09 20:49:59 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 22:55:46 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 23:18:08 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/141119) ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/150592) ios_rel_device ...
6 years, 7 months ago (2014-05-09 23:18:09 UTC) #17
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-12 14:02:54 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/270673003/160001
6 years, 7 months ago (2014-05-12 14:03:10 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 15:38:09 UTC) #20
Message was sent while issue was closed.
Change committed as 269789

Powered by Google App Engine
This is Rietveld 408576698