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

Issue 180243025: Changing the UsersPerSession UMA metric to only count possible multi profile sessions and do this u… (Closed)

Created:
6 years, 9 months ago by Mr4D (OOO till 08-26)
Modified:
6 years, 9 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, asvitkine+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, jar (doing other things)
Visibility:
Public.

Description

Changing the UsersPerSession UMA metric to count relative user amount changes for sessions which can do multi profile The old absolute UMA counter was stored upon shutdown. Unfortunately only one in 33 users is shutting down the system properly. As such only a fraction of sessions were accounted for => the values were useless. Furthermore we have decided to only count sessions which could be multi profile sessions. The new values are recording state changes like e.g. going from one user to two in a single session. As such you might get a resulting stat counter list of: 1: 320 => 320 - 15 - 4 - 1 = 300 single user sessions 2: 15 => 15 - 4 - 1 = 10 two user sessions 3: 4 => 4 - 1 = 3 three user sessions 4: 1 => 1 four user session Note that it is not possible for a single user to leave a multi profile session - so the counter will always count up. BUG=349055 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255865

Patch Set 1 #

Total comments: 5

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : Addressed - second upload. #

Patch Set 4 : . #

Total comments: 1

Patch Set 5 : git branch #

Patch Set 6 : fixing windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -13 lines) Patch
M ash/multi_profile_uma.h View 1 chunk +2 lines, -1 line 0 comments Download
M ash/multi_profile_uma.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/lifetime/application_lifetime.cc View 1 2 3 4 5 2 chunks +0 lines, -8 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 43 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
6 years, 9 months ago (2014-03-06 19:29:47 UTC) #1
James Cook
Code LGTM assuming you fix histograms.xml I'm not sure how I would interpret this stat ...
6 years, 9 months ago (2014-03-06 19:45:35 UTC) #2
Mark P
In addition to the comment I put in the file, I have two problems with ...
6 years, 9 months ago (2014-03-06 19:45:59 UTC) #3
Mr4D (OOO till 08-26)
Updated the patch to reflect the deprecated stat counter. I also updated the issue description ...
6 years, 9 months ago (2014-03-06 20:15:19 UTC) #4
James Cook
Still LGTM. Amazing that only 1/30th of our users shut down properly. Maybe they have ...
6 years, 9 months ago (2014-03-06 20:23:13 UTC) #5
Mark P
https://codereview.chromium.org/180243025/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/180243025/diff/1/tools/metrics/histograms/histograms.xml#newcode8076 tools/metrics/histograms/histograms.xml:8076: + 'MultiProfile.UsersPerSessionIncremental'. This was an earlier comment I forgot ...
6 years, 9 months ago (2014-03-06 21:36:32 UTC) #6
Mr4D (OOO till 08-26)
Please have a look at my replies! https://codereview.chromium.org/180243025/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/180243025/diff/1/tools/metrics/histograms/histograms.xml#newcode8076 tools/metrics/histograms/histograms.xml:8076: + 'MultiProfile.UsersPerSessionIncremental'. ...
6 years, 9 months ago (2014-03-06 23:01:25 UTC) #7
Mark P
our good friend the chunk mismatch has struck again. please try uploading again On Thu, ...
6 years, 9 months ago (2014-03-06 23:31:21 UTC) #8
Mark P
lgtm, baring one change requested below https://codereview.chromium.org/180243025/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/180243025/diff/40001/tools/metrics/histograms/histograms.xml#oldcode8123 tools/metrics/histograms/histograms.xml:8123: You forgot to ...
6 years, 9 months ago (2014-03-07 00:03:50 UTC) #9
Mr4D (OOO till 08-26)
Thanks! I updated the comment once more. Somehow the previous upload got hosed somehow.
6 years, 9 months ago (2014-03-07 01:10:47 UTC) #10
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-07 01:11:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/180243025/70001
6 years, 9 months ago (2014-03-07 01:46:44 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 02:18:54 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=53997
6 years, 9 months ago (2014-03-07 02:18:55 UTC) #14
Mr4D (OOO till 08-26)
+dpolukhin for owner review. Please have a look!
6 years, 9 months ago (2014-03-07 04:32:17 UTC) #15
Dmitry Polukhin
lgtm https://codereview.chromium.org/180243025/diff/70001/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (right): https://codereview.chromium.org/180243025/diff/70001/chrome/browser/chromeos/login/user_manager_impl.cc#newcode2043 chrome/browser/chromeos/login/user_manager_impl.cc:2043: int users = GetLoggedInUsers().size(); Nit, I would make ...
6 years, 9 months ago (2014-03-07 04:39:09 UTC) #16
Mr4D (OOO till 08-26)
Darin, can you please do the last owners review for application_lifetime.cc? Thanks!
6 years, 9 months ago (2014-03-07 16:06:21 UTC) #17
Mr4D (OOO till 08-26)
+Thakis - can you please do an owners review for life_time.cc
6 years, 9 months ago (2014-03-07 19:14:57 UTC) #18
Nico
lifetime lgtm "Unfortunately only one in 33 users is shutting down the system properly." O_O
6 years, 9 months ago (2014-03-07 19:16:58 UTC) #19
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-07 19:20:38 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/180243025/80001
6 years, 9 months ago (2014-03-07 19:22:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/180243025/80001
6 years, 9 months ago (2014-03-07 20:26:03 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 20:36:01 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-07 20:36:02 UTC) #24
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-07 21:21:11 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/180243025/80001
6 years, 9 months ago (2014-03-07 21:21:30 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 00:09:23 UTC) #27
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests, chrome_elf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=82883
6 years, 9 months ago (2014-03-08 00:09:24 UTC) #28
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-08 01:41:45 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/180243025/100001
6 years, 9 months ago (2014-03-08 10:58:53 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 12:34:56 UTC) #31
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=278158
6 years, 9 months ago (2014-03-08 12:34:56 UTC) #32
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-08 16:32:06 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/180243025/100001
6 years, 9 months ago (2014-03-08 16:32:19 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 17:16:19 UTC) #35
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234478
6 years, 9 months ago (2014-03-08 17:16:20 UTC) #36
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-08 19:54:42 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/180243025/100001
6 years, 9 months ago (2014-03-08 19:55:08 UTC) #38
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 20:38:02 UTC) #39
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234563
6 years, 9 months ago (2014-03-08 20:38:03 UTC) #40
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-09 17:43:36 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/180243025/100001
6 years, 9 months ago (2014-03-09 17:44:03 UTC) #42
commit-bot: I haz the power
6 years, 9 months ago (2014-03-09 18:00:10 UTC) #43
Message was sent while issue was closed.
Change committed as 255865

Powered by Google App Engine
This is Rietveld 408576698