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

Issue 1033493002: Histogram for UMA log upload connection type. (Closed)

Created:
5 years, 9 months ago by gayane -on leave until 09-2017
Modified:
5 years, 9 months ago
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org, Randy Smith (Not in Mondays)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Histogram for UMA log upload connection type. Added a histogram to log the network connection type for each successful metrics log upload. Will be used to monitor cellular uploads on Chrome on Android. BUG=455847 Committed: https://crrev.com/4849a80712b9d870522c50968a30ca7f370894c5 Cr-Commit-Position: refs/heads/master@{#322593}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 12

Patch Set 3 : Histogram type changed, refactoring network_metrics_provider_ + nits #

Total comments: 10

Patch Set 4 : Recording ConnectionType histogram in NetMetricsLogUploader #

Total comments: 6

Patch Set 5 : Comment for enum added + nits #

Total comments: 2

Patch Set 6 : Comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M components/metrics/net/net_metrics_log_uploader.cc View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M net/base/network_change_notifier.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
gayane -on leave until 09-2017
Please have a look. I have added a histogram for recording a connection type for ...
5 years, 9 months ago (2015-03-23 19:35:49 UTC) #2
Ilya Sherman
https://codereview.chromium.org/1033493002/diff/40001/chrome/browser/metrics/chrome_metrics_service_client.cc File chrome/browser/metrics/chrome_metrics_service_client.cc (right): https://codereview.chromium.org/1033493002/diff/40001/chrome/browser/metrics/chrome_metrics_service_client.cc#newcode129 chrome/browser/metrics/chrome_metrics_service_client.cc:129: weak_ptr_factory_(this) { Please initialize the metrics provider here. https://codereview.chromium.org/1033493002/diff/40001/chrome/browser/metrics/chrome_metrics_service_client.cc#newcode213 ...
5 years, 9 months ago (2015-03-24 00:14:23 UTC) #4
gayane -on leave until 09-2017
Changed histogram type to enumeration and refactored network_metrics_provider_ in ChromeMetricsServiceClient to be similar to other ...
5 years, 9 months ago (2015-03-24 20:45:56 UTC) #5
Ilya Sherman
Thanks, Gayane. https://codereview.chromium.org/1033493002/diff/60001/chrome/browser/metrics/chrome_metrics_service_client.cc File chrome/browser/metrics/chrome_metrics_service_client.cc (right): https://codereview.chromium.org/1033493002/diff/60001/chrome/browser/metrics/chrome_metrics_service_client.cc#newcode16 chrome/browser/metrics/chrome_metrics_service_client.cc:16: #include "base/metrics/sparse_histogram.h" nit: No longer needed? https://codereview.chromium.org/1033493002/diff/60001/chrome/browser/metrics/chrome_metrics_service_client.cc#newcode216 ...
5 years, 9 months ago (2015-03-24 21:55:45 UTC) #6
gayane -on leave until 09-2017
Did as suggested: moved the histogram to NetMetricsLogUploader, but didn't create new enum. Used net::NetworkChangeNotifier::ConnectionType ...
5 years, 9 months ago (2015-03-25 21:02:34 UTC) #9
Ilya Sherman
Thanks! https://codereview.chromium.org/1033493002/diff/120001/components/metrics/net/net_metrics_log_uploader.cc File components/metrics/net/net_metrics_log_uploader.cc (right): https://codereview.chromium.org/1033493002/diff/120001/components/metrics/net/net_metrics_log_uploader.cc#newcode20 components/metrics/net/net_metrics_log_uploader.cc:20: net::NetworkChangeNotifier::CONNECTION_LAST); If you reuse this enum, please add ...
5 years, 9 months ago (2015-03-25 23:10:01 UTC) #10
gayane -on leave until 09-2017
Comment for enum added + nits https://codereview.chromium.org/1033493002/diff/120001/components/metrics/net/net_metrics_log_uploader.cc File components/metrics/net/net_metrics_log_uploader.cc (right): https://codereview.chromium.org/1033493002/diff/120001/components/metrics/net/net_metrics_log_uploader.cc#newcode20 components/metrics/net/net_metrics_log_uploader.cc:20: net::NetworkChangeNotifier::CONNECTION_LAST); On 2015/03/25 ...
5 years, 9 months ago (2015-03-26 17:41:27 UTC) #11
gayane -on leave until 09-2017
rdsmith@chromium.org: Please review changes in net/base/network_change_notifier.h
5 years, 9 months ago (2015-03-26 17:48:52 UTC) #14
Randy Smith (Not in Mondays)
Lateralled to Paul; it looks innocuous, but I care about getting documentation right and it's ...
5 years, 9 months ago (2015-03-26 17:51:11 UTC) #16
pauljensen
https://codereview.chromium.org/1033493002/diff/160001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1033493002/diff/160001/net/base/network_change_notifier.h#newcode45 net/base/network_change_notifier.h:45: // Used to record the connection type used for ...
5 years, 9 months ago (2015-03-26 19:03:35 UTC) #17
gayane -on leave until 09-2017
Comment fixed. https://codereview.chromium.org/1033493002/diff/160001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1033493002/diff/160001/net/base/network_change_notifier.h#newcode45 net/base/network_change_notifier.h:45: // Used to record the connection type ...
5 years, 9 months ago (2015-03-26 19:09:05 UTC) #18
Ilya Sherman
LGTM. Thanks, Gayane.
5 years, 9 months ago (2015-03-26 20:56:55 UTC) #19
pauljensen
net/ lgtm. Are you aware we already have lots of NetworkChangeNotifier histograms describing all kinds ...
5 years, 9 months ago (2015-03-27 11:25:16 UTC) #20
gayane -on leave until 09-2017
On 2015/03/27 11:25:16, pauljensen wrote: > net/ lgtm. Are you aware we already have lots ...
5 years, 9 months ago (2015-03-27 15:09:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1033493002/180001
5 years, 9 months ago (2015-03-27 15:10:02 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:180001)
5 years, 9 months ago (2015-03-27 16:49:38 UTC) #24
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 16:50:42 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4849a80712b9d870522c50968a30ca7f370894c5
Cr-Commit-Position: refs/heads/master@{#322593}

Powered by Google App Engine
This is Rietveld 408576698