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

Issue 1871733002: Add histograms for observing UMA throttling effect. (Closed)

Created:
4 years, 8 months ago by gayane -on leave until 09-2017
Modified:
4 years, 8 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add histograms for observing UMA throttling effect. Added a histogram for counting number of events when UMA log was not uploaded due to throttling and one more for counting number of dropped UMA logs. Also, delete a histogram recording a connection type and actualy upload interval used to upload the previous UMA log which is not needed as we are done with the analysis of UMA logs on cellular. BUG=599586 Committed: https://crrev.com/0417f978064cbeda802b99b21a88d126c66ff4da Cr-Commit-Position: refs/heads/master@{#386440}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -16 lines) Patch
M components/metrics/metrics_service.cc View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download
M components/metrics/net/net_metrics_log_uploader.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M components/metrics/persisted_logs.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
gayane -on leave until 09-2017
Could you have a look? I have added histograms for counting unsent UMA logs but ...
4 years, 8 months ago (2016-04-08 14:29:45 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/1871733002/diff/20001/components/metrics/metrics_service.cc File components/metrics/metrics_service.cc (right): https://codereview.chromium.org/1871733002/diff/20001/components/metrics/metrics_service.cc#newcode889 components/metrics/metrics_service.cc:889: UMA_HISTOGRAM_COUNTS("UMA.LogUpload.Canceled.CellularConstraint", 1); UMA_HISTOGRAM_COUNTS() allocated 50 buckets. You can use ...
4 years, 8 months ago (2016-04-08 15:08:32 UTC) #5
gayane -on leave until 09-2017
https://codereview.chromium.org/1871733002/diff/20001/components/metrics/metrics_service.cc File components/metrics/metrics_service.cc (right): https://codereview.chromium.org/1871733002/diff/20001/components/metrics/metrics_service.cc#newcode889 components/metrics/metrics_service.cc:889: UMA_HISTOGRAM_COUNTS("UMA.LogUpload.Canceled.CellularConstraint", 1); On 2016/04/08 15:08:32, Alexei Svitkine wrote: > ...
4 years, 8 months ago (2016-04-08 17:19:25 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/1871733002/diff/40001/components/metrics/metrics_reporting_scheduler.cc File components/metrics/metrics_reporting_scheduler.cc (left): https://codereview.chromium.org/1871733002/diff/40001/components/metrics/metrics_reporting_scheduler.cc#oldcode61 components/metrics/metrics_reporting_scheduler.cc:61: UMA_HISTOGRAM_CUSTOM_COUNTS("UMA.ActualLogUploadInterval", I'm not convinced we should stop logging this ...
4 years, 8 months ago (2016-04-08 20:07:13 UTC) #8
gayane -on leave until 09-2017
https://codereview.chromium.org/1871733002/diff/40001/components/metrics/metrics_reporting_scheduler.cc File components/metrics/metrics_reporting_scheduler.cc (left): https://codereview.chromium.org/1871733002/diff/40001/components/metrics/metrics_reporting_scheduler.cc#oldcode61 components/metrics/metrics_reporting_scheduler.cc:61: UMA_HISTOGRAM_CUSTOM_COUNTS("UMA.ActualLogUploadInterval", On 2016/04/08 20:07:12, Alexei Svitkine wrote: > I'm ...
4 years, 8 months ago (2016-04-08 20:40:15 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/1871733002/diff/60001/components/metrics/metrics_service.cc File components/metrics/metrics_service.cc (right): https://codereview.chromium.org/1871733002/diff/60001/components/metrics/metrics_service.cc#newcode894 components/metrics/metrics_service.cc:894: UMA_HISTOGRAM_BOOLEAN("UMA.LogUpload.Canceled.CellularConstraint", Let's not log this unless IsUMACellularUploadLogicEnabled() is true, ...
4 years, 8 months ago (2016-04-11 15:09:09 UTC) #10
gayane -on leave until 09-2017
https://codereview.chromium.org/1871733002/diff/60001/components/metrics/metrics_service.cc File components/metrics/metrics_service.cc (right): https://codereview.chromium.org/1871733002/diff/60001/components/metrics/metrics_service.cc#newcode894 components/metrics/metrics_service.cc:894: UMA_HISTOGRAM_BOOLEAN("UMA.LogUpload.Canceled.CellularConstraint", On 2016/04/11 15:09:08, Alexei Svitkine wrote: > Let's ...
4 years, 8 months ago (2016-04-11 15:40:46 UTC) #11
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1871733002/diff/80001/components/metrics/metrics_service.cc File components/metrics/metrics_service.cc (right): https://codereview.chromium.org/1871733002/diff/80001/components/metrics/metrics_service.cc#newcode895 components/metrics/metrics_service.cc:895: if (is_cellular_logic) Nit: {}
4 years, 8 months ago (2016-04-11 16:04:49 UTC) #12
gayane -on leave until 09-2017
https://codereview.chromium.org/1871733002/diff/80001/components/metrics/metrics_service.cc File components/metrics/metrics_service.cc (right): https://codereview.chromium.org/1871733002/diff/80001/components/metrics/metrics_service.cc#newcode895 components/metrics/metrics_service.cc:895: if (is_cellular_logic) On 2016/04/11 16:04:49, Alexei Svitkine wrote: > ...
4 years, 8 months ago (2016-04-11 17:42:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1871733002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1871733002/100001
4 years, 8 months ago (2016-04-11 17:43:03 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 8 months ago (2016-04-11 19:34:19 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 19:36:05 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0417f978064cbeda802b99b21a88d126c66ff4da
Cr-Commit-Position: refs/heads/master@{#386440}

Powered by Google App Engine
This is Rietveld 408576698