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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1898873006: Cronet: Use stale DNS cache entries experimentally. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dns_stale2
Patch Set: Resolve merge conflict. Created 4 years, 4 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/dns/host_resolver.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 bd4c1a241be1eb1b5378f8e3280f6ad60851eef9..4b9b368eec7efcb574ec951c7345d788a78fc280 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -10193,6 +10193,43 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DNS.StaleHostResolver.NetworkEarly" units="ms">
+ <owner>juliatuttle@chromium.org</owner>
+ <summary>
+ When a DNS request made through StaleHostResolver returns, a stale cached
+ result was available, and the network responded before or exactly at the
+ stale delay, how much earlier it responded.
+ </summary>
+</histogram>
+
+<histogram name="DNS.StaleHostResolver.NetworkLate" units="ms">
+ <owner>juliatuttle@chromium.org</owner>
+ <summary>
+ When a DNS request made through StaleHostResolver returns, a stale cached
+ result was available, and the network responded after the stale delay, how
+ much later it responded.
+ </summary>
+</histogram>
+
+<histogram name="DNS.StaleHostResolver.RequestOutcome"
+ enum="DNS.StaleHostResolverRequestOutcome">
+ <owner>juliatuttle@chromium.org</owner>
+ <summary>
+ When a DNS request made through StaleHostResolver returns or is canceled,
+ the outcome of the request.
+ </summary>
+</histogram>
+
+<histogram name="DNS.StaleHostResolver.StaleAddressListDelta"
+ enum="DNS.AddressListDeltaType">
+ <owner>juliatuttle@chromium.org</owner>
+ <summary>
+ When a DNS request made through StaleHostResolver had a stale cached result
+ and both the stale and network results were successful, the difference
+ between the old and new address lists.
+ </summary>
+</histogram>
+
<histogram name="DNS.TotalTime" units="ms">
<owner>juliatuttle@chromium.org</owner>
<summary>
@@ -73742,6 +73779,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="2" label="Updated stale entry"/>
</enum>
+<enum name="DNS.StaleHostResolverRequestOutcome" type="int">
+ <int value="0"
+ label="Returned synchronously (cache, hosts, IP literal etc.)"/>
+ <int value="1"
+ label="Returned network result; no stale cached result was available."/>
+ <int value="2"
+ label="Returned network result; stale cached result was available."/>
+ <int value="3" label="Returned stale cached result; network was too slow."/>
+ <int value="4" label="Canceled; no stale cached result was available."/>
+ <int value="5" label="Canceled; stale cached result was available."/>
+</enum>
+
<enum name="DNSEmptyAddressListAndNoError" type="int">
<int value="0" label="Error reported or Address List is not empty"/>
<int value="1" label="Success reported but Address List is empty"/>
« no previous file with comments | « net/dns/host_resolver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698