ywkaras commented on code in PR #9403:
URL: https://github.com/apache/trafficserver/pull/9403#discussion_r1251152089


##########
doc/admin-guide/monitoring/statistics/core/ssl.en.rst:
##########
@@ -238,6 +238,66 @@ SSL/TLS
 
    A gauge of current active SNI Routing Tunnels.
 
+.. ts:stat:: global proxy.process.tunnel.total_client_connections_tls_tunnel 
integer
+   :type: counter
+
+   Total number of TCP connections for TLS tunnels where the far end is the 
client
+   created based on a ``tunnel_route`` key in a table in the :file:`sni.yaml` 
file.
+
+.. ts:stat:: global proxy.process.tunnel.current_client_connections_tls_tunnel 
integer
+   :type: counter
+
+   Current number of TCP connections for TLS tunnels where the far end is the 
client
+   created based on a ``tunnel_route`` key in a table in the :file:`sni.yaml` 
file.
+
+.. ts:stat:: global proxy.process.tunnel.total_client_connections_tls_forward 
integer
+   :type: counter
+
+   Total number of TCP connections for TLS tunnels where the far end is the 
client
+   created based on a ``forward_route`` key in a table in the :file:`sni.yaml` 
file.
+
+.. ts:stat:: global 
proxy.process.tunnel.current_client_connections_tls_forward integer
+   :type: counter
+
+   Current number of TCP connections for TLS tunnels where the far end is the 
client
+   created based on a ``forward_route`` key in a table in the :file:`sni.yaml` 
file.
+
+.. ts:stat:: global 
proxy.process.tunnel.total_client_connections_tls_partial_blind integer
+   :type: counter
+
+   Total number of TCP connections for TLS tunnels where the far end is the 
client
+   created based on a ``partial_blind_route`` key in a table in the 
:file:`sni.yaml` file.
+
+.. ts:stat:: global 
proxy.process.tunnel.current_client_connections_tls_partial_blind integer
+   :type: counter
+
+   Current number of TCP connections for TLS tunnels where the far end is the 
client
+   created based on a ``partial_blind_route`` key in a table in the 
:file:`sni.yaml` file.
+
+.. ts:stat:: global proxy.process.tunnel.total_client_connections_tls_http 
integer
+   :type: counter
+
+   Total number of TLS connections for tunnels where the far end is the client
+   initiated with an HTTP request.
+
+.. ts:stat:: global proxy.process.tunnel.current_client_connections_tls_http 
integer
+   :type: counter
+
+   Current number of TLS connections for tunnels where the far end is the 
client
+   initiated with an HTTP request.
+
+.. ts:stat:: global proxy.process.tunnel.total_server_connections_tls integer
+   :type: counter
+
+   Total number of TCP connections for TLS tunnels where the far end is the 
server
+   created based on a ``partial_blind_route`` key in a table in the 
:file:`sni.yaml` file.

Review Comment:
   A partial blind tunnel is the only one for which the outgoing connection 
corresponds to an SSLNetVConnection object rather than a UnixNetVConnection 
object.  It's not straight forward how to implement separate counters for 
outgoing/server connections for the other TLS tunnel types, but it may be 
possible if they're needed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to