diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc index 0231a158565..03d1b4eef8a 100644 --- a/iocore/net/SSLUtils.cc +++ b/iocore/net/SSLUtils.cc @@ -902,7 +902,7 @@ SSLInitializeStatistics() // SSL handshake time RecRegisterRawStat(ssl_rsb, RECT_PROCESS, "proxy.process.ssl.total_handshake_time", RECD_INT, RECP_PERSISTENT, (int)ssl_total_handshake_time_stat, RecRawStatSyncSum); - RecRegisterRawStat(ssl_rsb, RECT_PROCESS, "proxy.process.ssl.total_success_handshake_count", RECD_INT, RECP_PERSISTENT, + RecRegisterRawStat(ssl_rsb, RECT_PROCESS, "proxy.process.ssl.total_success_handshake_count_in", RECD_INT, RECP_PERSISTENT, (int)ssl_total_success_handshake_count_in_stat, RecRawStatSyncCount); RecRegisterRawStat(ssl_rsb, RECT_PROCESS, "proxy.process.ssl.total_success_handshake_count_out", RECD_INT, RECP_PERSISTENT, (int)ssl_total_success_handshake_count_out_stat, RecRawStatSyncCount); diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc index c390ac57eaf..1f8c2cd25da 100644 --- a/mgmt/RecordsConfig.cc +++ b/mgmt/RecordsConfig.cc @@ -1767,7 +1767,7 @@ static const RecordElement RecordsConfig[] = , {RECT_NODE, "proxy.node.log.bytes_lost_before_written_to_disk", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL} , - {RECT_NODE, "proxy.process.ssl.total_success_handshake_count_in", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL} + {RECT_PROCESS, "proxy.process.ssl.total_success_handshake_count", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL} , //# diff --git a/proxy/config/stats.config.xml.default b/proxy/config/stats.config.xml.default index 430e2bea7a2..da17a2c5466 100644 --- a/proxy/config/stats.config.xml.default +++ b/proxy/config/stats.config.xml.default @@ -1946,11 +1946,12 @@ + - proxy.process.ssl.total_success_handshake_count_in + proxy.process.ssl.total_success_handshake_count - proxy.process.ssl.total_success_handshake_count + proxy.process.ssl.total_success_handshake_count_in