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

Issue 941743002: Add a dedicated SSL protocol version metric. (Closed)

Created:
5 years, 10 months ago by davidben
Modified:
5 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a dedicated SSL protocol version metric. Remove the old SSL version gathering logic in ConnectionType. Those metrics are very difficult to read because the denominator is wrong. In the meantime, claim the ConnectionType metrics since they're unowned. They'll be deprecated once this new one has gathered numbers and the SPDY use case for them has also been accounted for. BUG=459710 Committed: https://crrev.com/9ff250e0023b2f87e0fddd7eadbef7be3ecc3882 Cr-Commit-Position: refs/heads/master@{#317161}

Patch Set 1 #

Patch Set 2 : remove the old SSL version half of ConnectionType #

Total comments: 2

Patch Set 3 : Carve some corners into the round hole so the square peg fits better #

Total comments: 15

Patch Set 4 : isherman comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -40 lines) Patch
M net/socket/ssl_client_socket.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket.cc View 1 1 chunk +0 lines, -22 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M net/ssl/ssl_connection_status_flags.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 5 chunks +24 lines, -3 lines 2 comments Download

Messages

Total messages: 19 (2 generated)
davidben
rsleevi: net/ isherman: histograms.xml. Is the normal procedure here to obsolete the old histogram now ...
5 years, 10 months ago (2015-02-19 17:53:02 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/941743002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/941743002/diff/20001/tools/metrics/histograms/histograms.xml#newcode58539 tools/metrics/histograms/histograms.xml:58539: + <int value="7">QUIC</int> Why QUIC? That's not an SSL ...
5 years, 10 months ago (2015-02-19 18:40:48 UTC) #3
davidben
https://codereview.chromium.org/941743002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/941743002/diff/20001/tools/metrics/histograms/histograms.xml#newcode58539 tools/metrics/histograms/histograms.xml:58539: + <int value="7">QUIC</int> On 2015/02/19 18:40:48, Ryan Sleevi wrote: ...
5 years, 10 months ago (2015-02-19 19:09:10 UTC) #4
Ryan Sleevi
On 2015/02/19 19:09:10, David Benjamin wrote: > https://codereview.chromium.org/941743002/diff/20001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://codereview.chromium.org/941743002/diff/20001/tools/metrics/histograms/histograms.xml#newcode58539 ...
5 years, 10 months ago (2015-02-19 19:13:24 UTC) #5
davidben
On 2015/02/19 19:13:24, Ryan Sleevi wrote: > On 2015/02/19 19:09:10, David Benjamin wrote: > > ...
5 years, 10 months ago (2015-02-19 19:19:35 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/941743002/diff/40001/net/socket/ssl_client_socket_pool.cc File net/socket/ssl_client_socket_pool.cc (right): https://codereview.chromium.org/941743002/diff/40001/net/socket/ssl_client_socket_pool.cc#newcode504 net/socket/ssl_client_socket_pool.cc:504: UMA_HISTOGRAM_ENUMERATION( BUG: You're now not histograming for HPKP mismatches.
5 years, 10 months ago (2015-02-19 19:24:02 UTC) #7
davidben
https://codereview.chromium.org/941743002/diff/40001/net/socket/ssl_client_socket_pool.cc File net/socket/ssl_client_socket_pool.cc (right): https://codereview.chromium.org/941743002/diff/40001/net/socket/ssl_client_socket_pool.cc#newcode504 net/socket/ssl_client_socket_pool.cc:504: UMA_HISTOGRAM_ENUMERATION( On 2015/02/19 19:24:02, Ryan Sleevi wrote: > BUG: ...
5 years, 10 months ago (2015-02-19 19:32:20 UTC) #8
Ryan Sleevi
On 2015/02/19 19:32:20, David Benjamin wrote: > https://codereview.chromium.org/941743002/diff/40001/net/socket/ssl_client_socket_pool.cc > File net/socket/ssl_client_socket_pool.cc (right): > > https://codereview.chromium.org/941743002/diff/40001/net/socket/ssl_client_socket_pool.cc#newcode504 ...
5 years, 10 months ago (2015-02-19 20:12:06 UTC) #9
Ilya Sherman
On 2015/02/19 17:53:02, David Benjamin wrote: > isherman: histograms.xml. Is the normal procedure here to ...
5 years, 10 months ago (2015-02-19 20:18:35 UTC) #10
davidben
> > > BUG: You're now not histograming for HPKP mismatches. > > > > ...
5 years, 10 months ago (2015-02-19 21:22:34 UTC) #11
Ilya Sherman
Histograms LGMT -- thanks. https://codereview.chromium.org/941743002/diff/50001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/941743002/diff/50001/tools/metrics/histograms/histograms.xml#newcode19908 tools/metrics/histograms/histograms.xml:19908: +<histogram name="Net.SSLVersion" enum="SSLOrQUICVersion"> Sorry, I ...
5 years, 10 months ago (2015-02-19 22:08:23 UTC) #12
Ryan Sleevi
lgtm https://codereview.chromium.org/941743002/diff/40001/net/socket/ssl_client_socket_pool.cc File net/socket/ssl_client_socket_pool.cc (right): https://codereview.chromium.org/941743002/diff/40001/net/socket/ssl_client_socket_pool.cc#newcode507 net/socket/ssl_client_socket_pool.cc:507: SSL_CONNECTION_VERSION_MAX); On 2015/02/19 21:22:34, David Benjamin wrote: > ...
5 years, 10 months ago (2015-02-19 22:18:51 UTC) #13
davidben
> Histograms LGMT -- thanks. (Did you mean to swap some characters there? :-) ) ...
5 years, 10 months ago (2015-02-19 22:19:07 UTC) #14
Ilya Sherman
LGTM for really reals.
5 years, 10 months ago (2015-02-19 23:00:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941743002/50001
5 years, 10 months ago (2015-02-19 23:02:49 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:50001)
5 years, 10 months ago (2015-02-19 23:07:10 UTC) #18
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 23:08:08 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9ff250e0023b2f87e0fddd7eadbef7be3ecc3882
Cr-Commit-Position: refs/heads/master@{#317161}

Powered by Google App Engine
This is Rietveld 408576698