summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authormef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 20:15:49 +0000
committermef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 20:15:49 +0000
commitd69eae7ec0e1ed86ec420dbdec2db9373c7bce81 (patch)
treebcc004736f846310b2566366ce098432c21d9b8e /tools
parent891621bc1754d9fb6a44beea516f0495447f9fbb (diff)
downloadchromium_src-d69eae7ec0e1ed86ec420dbdec2db9373c7bce81.zip
chromium_src-d69eae7ec0e1ed86ec420dbdec2db9373c7bce81.tar.gz
chromium_src-d69eae7ec0e1ed86ec420dbdec2db9373c7bce81.tar.bz2
Add histograms for tracking AsyncDNS server failures.
BUG=110197 Review URL: https://chromiumcodereview.appspot.com/16730005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index ad77807..1451653a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -322,6 +322,55 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="AsyncDNS.ServerCount">
+ <summary>
+ Count of servers in DnsConfig. Recorded on every new DnsSession, which is
+ created on DNS change.
+ </summary>
+</histogram>
+
+<histogram name="AsyncDNS.ServerFailureIndex">
+ <summary>
+ Index in DnsConfig of the failing server, recorded at the time of failure.
+ </summary>
+</histogram>
+
+<histogram name="AsyncDNS.ServerFailuresAfterNetworkChange">
+ <summary>
+ Count of server failures after network change before first success in the
+ DnsSession. Recorded at the time of first success.
+ </summary>
+</histogram>
+
+<histogram name="AsyncDNS.ServerFailuresAfterSuccess">
+ <summary>
+ Count of server failures after success until the end of the session. Server
+ has reported success at some point during the session. Recorded at the end
+ of the DnsSession.
+ </summary>
+</histogram>
+
+<histogram name="AsyncDNS.ServerFailuresBeforeSuccess">
+ <summary>
+ Count of server failures before success. This is NOT the first success in
+ the DnsSession. Recorded at the time of success.
+ </summary>
+</histogram>
+
+<histogram name="AsyncDNS.ServerFailuresWithoutSuccess">
+ <summary>
+ Count of server failures without success until the end of the session.
+ Server has never reported success during the DnsSession. Recorded at the end
+ of the DnsSession.
+ </summary>
+</histogram>
+
+<histogram name="AsyncDNS.ServerIsGood" units="BooleanSuccess">
+ <summary>
+ The current server is &quot;good&quot; and does not have to be skipped.
+ </summary>
+</histogram>
+
<histogram name="AsyncDNS.SortFailure" units="milliseconds">
<summary>
Duration of time taken in failing calls to AddressSorter in dual-stack