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 2222113003: Add UMA to net::BidirectionalStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self review 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
« net/http/bidirectional_stream.cc ('K') | « net/http/bidirectional_stream.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 9cd12ae7cb4aa277d187580ca00b95e3dcc5f82d..e6e4304dbf8d9ae90c54f58c2c49887cb9b2e2c1 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3614,6 +3614,32 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="BidirectionalStream.ReceivedBytes" units="bytes">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>Number of bytes received over this stream.</summary>
+</histogram>
+
+<histogram name="BidirectionalStream.SentBytes" units="bytes">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>Number of bytes sent over this stream.</summary>
+</histogram>
+
+<histogram name="BidirectionalStream.TimeToResponseEnd" units="microseconds">
Ilya Sherman 2016/08/08 22:26:37 Are you sure that the units are microseconds and n
xunjieli 2016/08/09 20:31:28 Yes, these are microseconds, because base::TimeDel
Ilya Sherman 2016/08/10 05:49:34 I agree that base::TimeDelta internally uses micro
xunjieli 2016/08/11 12:50:40 Done. Ah, I see. Thanks for explaining that! It is
+ <owner>xunjieli@chromium.org</owner>
+ <summary>
+ How long it takes from starting the request to receiving the end of the
+ response.
+ </summary>
+</histogram>
+
+<histogram name="BidirectionalStream.TimeToResponseStart" units="microseconds">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>
+ How long it takes from starting the request to receiving the start of
+ response.
Ilya Sherman 2016/08/08 22:26:37 nit: s/of response/of the response
xunjieli 2016/08/11 12:50:40 Done.
+ </summary>
+</histogram>
+
<histogram name="Blacklist.Blocked" enum="DllHash">
<owner>csharp@chromium.org</owner>
<summary>
@@ -96169,6 +96195,17 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="WebRTC.Stun.BatchSuccessPercent.UnknownNAT"/>
</histogram_suffixes>
+<histogram_suffixes name="BidirectionalStreamExperiment" separator="."
+ ordering="prefix">
+ <owner>xunjieli@chromium.org</owner>
+ <suffix name="QUIC" label="Bidirectional streams that use QUIC protocol"/>
+ <suffix name="HTTP2" label="Bidirectional stream that use HTTP2 protocol"/>
+ <affected-histogram name="BidirectionalStream.ReceivedBytes"/>
+ <affected-histogram name="BidirectionalStream.SentBytes"/>
+ <affected-histogram name="BidirectionalStream.TimeToResponseEnd"/>
+ <affected-histogram name="BidirectionalStream.TimeToResponseStart"/>
+</histogram_suffixes>
+
<histogram_suffixes name="BlinkCanvasDrawImageType" separator=".">
<suffix name="Canvas"/>
<suffix name="ImageBitmap"/>
« net/http/bidirectional_stream.cc ('K') | « net/http/bidirectional_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698