Browse Source

Renamed Meek resumed_session metric to tls_resumed_session

Amir Khan 1 year ago
parent
commit
8ec97106f8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      psiphon/meekConn.go
  2. 1 1
      psiphon/tlsTunnelConn.go

+ 1 - 1
psiphon/meekConn.go

@@ -934,7 +934,7 @@ func (meek *MeekConn) GetMetrics() common.LogFields {
 		logFields.Add(underlyingMetrics.GetMetrics())
 		logFields.Add(underlyingMetrics.GetMetrics())
 	}
 	}
 	if meek.cachedTLSDialer != nil {
 	if meek.cachedTLSDialer != nil {
-		logFields["resumed_session"] = meek.resumedTLSSession
+		logFields["tls_resumed_session"] = meek.resumedTLSSession
 	}
 	}
 
 
 	if quicTransport, ok := meek.transport.(*quic.QUICTransporter); ok {
 	if quicTransport, ok := meek.transport.(*quic.QUICTransporter); ok {

+ 1 - 1
psiphon/tlsTunnelConn.go

@@ -163,7 +163,7 @@ func (conn *TLSTunnelConn) GetMetrics() common.LogFields {
 	logFields := make(common.LogFields)
 	logFields := make(common.LogFields)
 
 
 	logFields["tls_padding"] = conn.tlsPadding
 	logFields["tls_padding"] = conn.tlsPadding
-	logFields["resumed_session"] = conn.resumedTLSSession
+	logFields["tls_resumed_session"] = conn.resumedTLSSession
 
 
 	// Include metrics, such as fragmentor metrics, from the underlying dial
 	// Include metrics, such as fragmentor metrics, from the underlying dial
 	// conn. Properties of subsequent underlying dial conns are not reflected
 	// conn. Properties of subsequent underlying dial conns are not reflected