New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 781350 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 736434
Owner: ----
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Login.ConsumerNewUsersAllowed Has Bad Construction Parameters

Project Member Reported by bcwh...@chromium.org, Nov 3 2017

Issue description

Chrome Version: HEAD
OS: ALL

The Login.ConsumerNewUsersAllowed histogram is being constructed with bad parameters.  I couldn't find where this is created in the code but a debug build might expose the exact problem.  The check is here:
https://cs.chromium.org/chromium/src/base/metrics/histogram.cc?rcl=d10aadd8b3db83273bdf5748c7f216910d7d0e14&l=396

You can see this getting counted under UMA here:
https://uma.googleplex.com/p/chrome/histograms/?endDate=latest&dayCount=28&histograms=Histogram.BadConstructionArguments&fixupData=true&showMax=true&filters=channel%2Ceq%2C1%2Cisofficial%2Ceq%2CTrue&implicitFilters=isofficial


 
Blocking: 736416
The histogram is defined in platform2/login_manager/login_metrics.cc.

void LoginMetrics::SendConsumerAllowsNewUsers(bool allowed) {
  int uma_code = allowed ? ANY_USER_ALLOWED : ONLY_WHITELISTED_ALLOWED;
  metrics_lib_.SendEnumToUMA(kLoginConsumerAllowsNewUsersMetric, uma_code, 2);
}

enum AllowedUsersState { ANY_USER_ALLOWED = 0, ONLY_WHITELISTED_ALLOWED = 1 };

Looks right to me.

Looking closer, I see:
https://chromium-review.googlesource.com/c/chromiumos/platform2/+/687214
which seems to have fixed it in late September.

As near as I can tell (maybe I'm looking in the wrong place), ChromeOS hasn't pushed a new release since that change was submitted.
Mergedinto: 736434
Status: Duplicate (was: Available)
Oh, my apologies.  I didn't realize I had previously reported this.  Sorry.

Blocking: -736416

Sign in to add a comment