DescriptionBreak down Net.WebSocket.ErrorCodes by localhost
Add two new histograms, Net.WebSocket.ErrorCodes_Localhost and
Net.WebSocket.ErrorCodes_NotLocalhost, to split error codes by whether or not
the URL refers to localhost.
This is intended to determine what errors are caused by connections to
locally-running applications, and get better information about the errors that
other WebSocket servers have.
The matching is done by text, rather than by DNS lookup, so "localhost", 127.*
and ::1 will go into Net.WebSocket.ErrorCodes_Localhost but other host names
that happen to resolve to 127.0.0.1 will not.
Manually tested by looking at about:histograms.
BUG=
Review-Url: https://codereview.chromium.org/2950343002
Cr-Commit-Position: refs/heads/master@{#482197}
Committed: https://chromium.googlesource.com/chromium/src/+/56a7cdb2df5c350fbd1c97d0f35aada0d3d67b9b
Patch Set 1 #
Messages
Total messages: 16 (10 generated)
|