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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 1121823004: Add some basic UMA for proxy service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More tweaking. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « net/proxy/proxy_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 1f7ad6f405204985db0851d3ca630e044b32d33f..07133b8e098719d9dfa0b02efda8645653566a3a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -20344,6 +20344,45 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>The length of the URL that was passed into the PAC script.</summary>
</histogram>
+<histogram name="Net.ProxyService.GetProxyUsingScriptTime">
Mark P 2015/05/12 04:21:42 units=? (here and elsewhere, though elsewhere some
Anand Mistry (off Chromium) 2015/05/12 05:13:24 I think it's 100s of microseconds since it uses a
+ <owner>eroman@chromium.org</owner>
+ <summary>
+ The time taken to resolve a URL by forwarding the request to the proxy
+ resolver and executing the PAC script. This includes PAC script execution,
+ DNS queries, and internal retries. This does not include retries initiated
+ by the user, such as by calling ProxyService::ReconsiderProxyAfterError().
+ </summary>
+</histogram>
+
+<histogram name="Net.ProxyService.ResolvedUsingScript">
+ <owner>eroman@chromium.org</owner>
+ <summary>
+ Whether proxy resolution occured by forwarding the request to the proxy
+ resolver and executing the PAC script. Note that in some cases, the system
Mark P 2015/05/12 04:21:42 Please say explicitly when this is recorded. (Doe
Anand Mistry (off Chromium) 2015/05/12 05:13:24 Done.
+ proxy resolver is used instead and this counts the requests forwarded to the
Mark P 2015/05/12 04:21:42 this? If so, this counts -> this histogram include
Anand Mistry (off Chromium) 2015/05/12 05:13:24 Done.
+ system proxy resolver. However, on desktop platforms, this should be a small
Mark P 2015/05/12 04:21:42 this = ? the count of all emissions to the histogr
Anand Mistry (off Chromium) 2015/05/12 05:13:24 Done.
+ number of users since the default is to use V8.
+ </summary>
+</histogram>
+
+<histogram name="Net.ProxyService.ResolveProxyTime">
+ <owner>eroman@chromium.org</owner>
+ <summary>
+ The total time taken to resolve a URL. This includes PAC script execution,
+ DNS queries, and internal retries. This does not include retries initiated
+ by the user, such as by calling ProxyService::ReconsiderProxyAfterError().
+ </summary>
+</histogram>
+
+<histogram name="Net.ProxyService.ScriptTerminated">
+ <owner>eroman@chromium.org</owner>
+ <summary>
+ Whether a proxy resolution resulted in the PAC script terminating
+ unexpectedly. This happens when the resolver process crashes when using
+ out-of-process PAC.
Mark P 2015/05/12 04:21:42 is this the only time it can occur?
Anand Mistry (off Chromium) 2015/05/12 05:13:24 Yes.
+ </summary>
+</histogram>
+
<histogram name="Net.PublicKeyPinFailureDomain" enum="PublicKeyPinFailedDomain">
<owner>agl@chromium.org</owner>
<summary>
« no previous file with comments | « net/proxy/proxy_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698