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

Issue 1121823004: Add some basic UMA for proxy service. (Closed)

Created:
5 years, 7 months ago by Anand Mistry (off Chromium)
Modified:
5 years, 7 months ago
Reviewers:
eroman, Mark P
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org, chrome-apps-syd-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 some basic UMA for proxy service. There are four metrics for proxy resolution: 1. ResolvedUsingScript is whether a script was executed to resolve the URL. 2. ResolveTime is the total time taken to resolve a URL, including retries due to resolver crashes. This is regardless of whether or not the script was executed. 3. GetProxyUsingScriptTime is the time taken to resolve a URL when executing the PAC script. 4. ScriptTerminated is whether or not a resolution caused the resolver to crash. Having this as a boolean on total resolutions indicates how crashy the out-of-process resolver is. BUG=467832 Committed: https://crrev.com/ae468b799357272fce56c9bc0bb0d7a2444549b4 Cr-Commit-Position: refs/heads/master@{#329539}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change metrics. #

Patch Set 3 : Formatting. #

Total comments: 4

Patch Set 4 : Move metrics to DidFinishResolvingProxy #

Patch Set 5 : Formatting. #

Total comments: 6

Patch Set 6 : Fix histogram descriptions. #

Total comments: 4

Patch Set 7 : Tweak wording. #

Patch Set 8 : More tweaking. #

Total comments: 10

Patch Set 9 : Change wording. #

Total comments: 2

Patch Set 10 : Tweak summary and rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -8 lines) Patch
M net/proxy/proxy_service.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 4 chunks +38 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
Anand Mistry (off Chromium)
I'll add histograms owners if you're ok with these metrics.
5 years, 7 months ago (2015-05-05 03:10:40 UTC) #2
eroman
There are several different concepts of resolve time, and I don't think this CL is ...
5 years, 7 months ago (2015-05-05 23:51:29 UTC) #3
Anand Mistry (off Chromium)
I've changed the metrics, so hopefully this is a better reflection of the time being ...
5 years, 7 months ago (2015-05-06 06:52:18 UTC) #4
eroman
https://codereview.chromium.org/1121823004/diff/40001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/1121823004/diff/40001/net/proxy/proxy_service.cc#newcode1100 net/proxy/proxy_service.cc:1100: UMA_HISTOGRAM_BOOLEAN("Net.ProxyService.ResolvedUsingScript", false); This is split between multiple locations. Please ...
5 years, 7 months ago (2015-05-08 21:12:39 UTC) #5
Anand Mistry (off Chromium)
https://codereview.chromium.org/1121823004/diff/40001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/1121823004/diff/40001/net/proxy/proxy_service.cc#newcode1100 net/proxy/proxy_service.cc:1100: UMA_HISTOGRAM_BOOLEAN("Net.ProxyService.ResolvedUsingScript", false); On 2015/05/08 21:12:39, eroman wrote: > This ...
5 years, 7 months ago (2015-05-11 07:40:35 UTC) #6
eroman
lgtm thanks for making those modifications, I find this last version more understandable! https://codereview.chromium.org/1121823004/diff/80001/net/proxy/proxy_service.cc File ...
5 years, 7 months ago (2015-05-11 23:42:41 UTC) #7
Anand Mistry (off Chromium)
mpearson@chromium.org: For histograms.xml https://codereview.chromium.org/1121823004/diff/80001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/1121823004/diff/80001/net/proxy/proxy_service.cc#newcode871 net/proxy/proxy_service.cc:871: creation_time_, script_executed); On 2015/05/11 23:42:40, eroman ...
5 years, 7 months ago (2015-05-12 00:33:25 UTC) #9
eroman
still lgtm https://codereview.chromium.org/1121823004/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1121823004/diff/100001/tools/metrics/histograms/histograms.xml#newcode20352 tools/metrics/histograms/histograms.xml:20352: + DNS queries, and retries. nit: retries ...
5 years, 7 months ago (2015-05-12 00:48:51 UTC) #10
Anand Mistry (off Chromium)
https://codereview.chromium.org/1121823004/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1121823004/diff/100001/tools/metrics/histograms/histograms.xml#newcode20352 tools/metrics/histograms/histograms.xml:20352: + DNS queries, and retries. On 2015/05/12 00:48:51, eroman ...
5 years, 7 months ago (2015-05-12 03:07:26 UTC) #11
eroman
lgtm
5 years, 7 months ago (2015-05-12 03:16:11 UTC) #12
Mark P
https://codereview.chromium.org/1121823004/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1121823004/diff/140001/tools/metrics/histograms/histograms.xml#newcode20347 tools/metrics/histograms/histograms.xml:20347: +<histogram name="Net.ProxyService.GetProxyUsingScriptTime"> units=? (here and elsewhere, though elsewhere some ...
5 years, 7 months ago (2015-05-12 04:21:42 UTC) #13
Anand Mistry (off Chromium)
https://codereview.chromium.org/1121823004/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1121823004/diff/140001/tools/metrics/histograms/histograms.xml#newcode20347 tools/metrics/histograms/histograms.xml:20347: +<histogram name="Net.ProxyService.GetProxyUsingScriptTime"> On 2015/05/12 04:21:42, Mark P wrote: > ...
5 years, 7 months ago (2015-05-12 05:13:24 UTC) #14
Mark P
histograms.xml lgtm with one minor comment https://codereview.chromium.org/1121823004/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1121823004/diff/160001/tools/metrics/histograms/histograms.xml#newcode20368 tools/metrics/histograms/histograms.xml:20368: + bucket caused ...
5 years, 7 months ago (2015-05-12 19:44:50 UTC) #15
Anand Mistry (off Chromium)
https://codereview.chromium.org/1121823004/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1121823004/diff/160001/tools/metrics/histograms/histograms.xml#newcode20368 tools/metrics/histograms/histograms.xml:20368: + bucket caused by users of the system resolver ...
5 years, 7 months ago (2015-05-12 23:12:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121823004/180001
5 years, 7 months ago (2015-05-12 23:13:00 UTC) #19
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 7 months ago (2015-05-13 00:16:38 UTC) #20
commit-bot: I haz the power
5 years, 7 months ago (2015-05-13 00:17:21 UTC) #21
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/ae468b799357272fce56c9bc0bb0d7a2444549b4
Cr-Commit-Position: refs/heads/master@{#329539}

Powered by Google App Engine
This is Rietveld 408576698