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

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

Issue 148573002: Add some histograms for <a ping> requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reword comments Created 6 years, 11 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 | « content/browser/loader/detachable_resource_handler.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 1d9dc9af82964dd8d39f251afee8ca3a6454c17e..5bf9b714a0307376164ee580d51de40e14190d6c 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -9017,6 +9017,20 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Net.Ping_ResponseStartedTime" units="milliseconds">
+ <summary>
+ How long it took for an &lt;a ping&gt; request to receive a response. Only
+ recorded if a response was received.
+ </summary>
+</histogram>
+
+<histogram name="Net.Ping_Result" enum="PingResult">
+ <summary>
+ The result of an &lt;a ping&gt; request, whether it received a response or
+ timed out or failed for some other reason.
+ </summary>
+</histogram>
+
<histogram name="Net.PreconnectedLinkNavigations" enum="PreconnectedNavigation">
<summary>
Indicate whether a link navigation was preceded by a recent pre-connect
@@ -28865,6 +28879,15 @@ other types of suffix sets.
<int value="8" label="Other"/>
</enum>
+<enum name="PingResult" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="Response started"/>
+ <int value="2" label="Timed out"/>
+ <int value="3" label="Canceled"/>
+ <int value="4" label="Failed"/>
+ <int value="5" label="Uncompleted"/>
+</enum>
+
<enum name="PipelineStatus" type="int">
<int value="0" label="PIPELINE_OK"/>
<int value="1" label="PIPELINE_ERROR_URL_NOT_FOUND"/>
« no previous file with comments | « content/browser/loader/detachable_resource_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698