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

Issue 2301703002: [Offline Pages] Adds UMA for number of started attempts and for network connection when Unsupported… (Closed)

Created:
4 years, 3 months ago by dougarnett
Modified:
4 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, dewittj+watch_chromium.org, tburkard+watch_chromium.org, fgorski+watch_chromium.org, romax+watch_chromium.org, petewil+watch_chromium.org, gavinp+prer_chromium.org, asvitkine+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Adds UMA for number of started attempts and for network connection when Unsupported Scheme error encountered. These changes are a follow-up to bug 642025 and the patch landed to mitigate it. They are meant to give us more visibility for tuning the policy for max number of started attempts for a request and whether we might use the network connection to better understand the nature of the Unsupported Scheme error. Also this reduces the max number of start attempts from 5 to 4. I tried 2 EM URLs that took 3 attempts on GIN-2g on GIN-2g-poor and one took only 2 attempts while the other took 4 attempts so I don't want to lower this too much yet (and see what new UMA reveals). BUG=642923 Committed: https://crrev.com/22647f96af79fb0d563644640689a8fc678f15ac Cr-Commit-Position: refs/heads/master@{#416101}

Patch Set 1 #

Patch Set 2 : kMaxStartedTries from 5 to 4 #

Total comments: 4

Patch Set 3 : TODO for adding recording of UMA for completed attempts #

Total comments: 2

Patch Set 4 : Adjusted count histogram max arg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -26 lines) Patch
M chrome/browser/android/offline_pages/prerendering_loader.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M components/offline_pages/background/offliner_policy.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/offline_pages/background/request_coordinator.h View 1 chunk +9 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 4 chunks +44 lines, -25 lines 0 comments Download
M components/offline_pages/background/request_notifier.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
dougarnett
4 years, 3 months ago (2016-08-31 22:24:13 UTC) #6
dougarnett
4 years, 3 months ago (2016-08-31 23:44:10 UTC) #10
Pete Williamson
https://codereview.chromium.org/2301703002/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2301703002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode50 components/offline_pages/background/request_coordinator.cc:50: void RecordAttemptCount(const SavePageRequest& request, Maybe this should be RecordStartedAttemptCount(), ...
4 years, 3 months ago (2016-09-01 00:27:20 UTC) #11
dougarnett
https://codereview.chromium.org/2301703002/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2301703002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode50 components/offline_pages/background/request_coordinator.cc:50: void RecordAttemptCount(const SavePageRequest& request, On 2016/09/01 00:27:20, Pete Williamson ...
4 years, 3 months ago (2016-09-01 19:27:37 UTC) #12
dougarnett
Steven, can you perform histogram review on this CL?
4 years, 3 months ago (2016-09-01 19:28:53 UTC) #16
Pete Williamson
lgtm
4 years, 3 months ago (2016-09-01 20:43:33 UTC) #17
Steven Holte
histograms lgtm, but see note https://codereview.chromium.org/2301703002/diff/40001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2301703002/diff/40001/components/offline_pages/background/request_coordinator.cc#newcode54 components/offline_pages/background/request_coordinator.cc:54: UMA_HISTOGRAM_CUSTOM_COUNTS( If you want ...
4 years, 3 months ago (2016-09-01 20:50:43 UTC) #20
dougarnett
https://codereview.chromium.org/2301703002/diff/40001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2301703002/diff/40001/components/offline_pages/background/request_coordinator.cc#newcode54 components/offline_pages/background/request_coordinator.cc:54: UMA_HISTOGRAM_CUSTOM_COUNTS( On 2016/09/01 20:50:42, Steven Holte wrote: > If ...
4 years, 3 months ago (2016-09-01 20:59:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2301703002/60001
4 years, 3 months ago (2016-09-01 21:46:06 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-01 22:55:30 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 22:58:51 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/22647f96af79fb0d563644640689a8fc678f15ac
Cr-Commit-Position: refs/heads/master@{#416101}

Powered by Google App Engine
This is Rietveld 408576698