Commit b2171c2c authored by rch@chromium.org's avatar rch@chromium.org

Add a new historgram Net.QuicSession.ConnectionClose.NumOpenStreams.HandshakeTimedOut

which tracks the number of streams open when a QUIC session crypto handshake timed out.

Review URL: https://codereview.chromium.org/323933003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276056 0039d316-1c4b-4281-b951-d872f2087c98
parent 804b964b
......@@ -584,8 +584,9 @@ void QuicClientSession::OnConnectionClosed(QuicErrorCode error,
"Net.QuicSession.ConnectionClose.NumOpenStreams.TimedOut",
GetNumOpenStreams());
if (!IsCryptoHandshakeConfirmed()) {
// If there have been any streams created, they were 0-RTT speculative
// requests that have not be serviced.
UMA_HISTOGRAM_COUNTS(
"Net.QuicSession.ConnectionClose.NumOpenStreams.HandshakeTimedOut",
GetNumOpenStreams());
UMA_HISTOGRAM_COUNTS(
"Net.QuicSession.ConnectionClose.NumTotalStreams.HandshakeTimedOut",
num_total_streams_);
......
......@@ -14214,6 +14214,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>The reason a QUIC handshake failed.</summary>
</histogram>
<histogram
name="Net.QuicSession.ConnectionClose.NumOpenStreams.HandshakeTimedOut">
<owner>rch@chromium.org</owner>
<summary>
The number of streams open when a QUIC session crypto handshake timed out.
</summary>
</histogram>
<histogram name="Net.QuicSession.ConnectionClose.NumOpenStreams.TimedOut">
<owner>rch@chromium.org</owner>
<summary>The number of streams open when a QUIC session timed out.</summary>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment