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

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

Issue 1121823004: Add some basic UMA for proxy service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak summary and rebase. 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 314cd2b6e868c8a97c836f0248de50c7358a09d8..19ac57a2569029f4ed6f7129c93f6351dc897e40 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -20376,6 +20376,50 @@ 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"
+ units="100s of microseconds">
+ <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" enum="Boolean">
+ <owner>eroman@chromium.org</owner>
+ <summary>
+ Whether proxy resolution occured by forwarding the request to the proxy
+ resolver and executing the PAC script. This histogram records all URLs,
+ regardless of whether a proxy configuration is set. Note that in some cases,
+ the system proxy resolver is used. If so, this histogram indicates whether
+ the request was forwarded to the system resolver. However, on desktop
+ platforms, the number of users using the system resolver should be small
+ since the default is to use V8. Hence, the count of emissions to the 'True'
+ bucket on desktop caused by users of the system resolver should be small.
+ </summary>
+</histogram>
+
+<histogram name="Net.ProxyService.ResolveProxyTime"
+ units="100s of microseconds">
+ <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" enum="Boolean">
+ <owner>eroman@chromium.org</owner>
+ <summary>
+ Whether a proxy resolution resulted in the PAC script terminating
+ unexpectedly. This only happens when the resolver process crashes when using
+ out-of-process PAC.
+ </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