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

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: Move StaleHostResolver into cronet Created 4 years, 6 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 28d90ca0cba04971f8185933e98c46b9baf60fd6..13ad844aff0fa938c5d73d7f99461d6490d254e8 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -9514,6 +9514,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 result
+ was available, and the network responded before 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 result
+ was available, and the network responded later than 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 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>
@@ -68709,6 +68746,16 @@ 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 result available."/>
+ <int value="2" label="Returned network result; stale result available."/>
+ <int value="3" label="Returned stale result; network was too slow."/>
+ <int value="4" label="Canceled; no stale result available."/>
+ <int value="5" label="Canceled; stale result 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"/>
« components/cronet/stale_host_resolver.cc ('K') | « components/cronet/stale_host_resolver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698