[ 
https://issues.apache.org/jira/browse/TS-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ron Barber updated TS-2169:
---------------------------

    Attachment: TS-2169.patch

Patch attached. (wish I could have done a pull request, but I messed up my 
master)

I have been running a 4.0.2 version of ats in (Yahoo!) production with this 
patch with no issues.

Added the following stats:
proxy.process.https.incoming_requests
  Total number of inbound https requests.

proxy.process.https.outgoing_requests
  Total number of outbound https requests.

proxy.process.https.current_client_connections
  Current number of https connected clients.

proxy.process.https.total_client_connections
  Total number of inbound https connections.

proxy.process.https.current_server_connections
  Current number of https connected origins.

proxy.process.https.total_server_connections
  Total number of outbound https connections.

proxy.node.https.user_agent_total_request_bytes
  Total number of bytes received from https connected clients.

proxy.process.https.user_agent_request_document_total_size
  Total size of body data received from https connected clients.

proxy.process.https.user_agent_request_header_total_size
  Total size of request headers received from https connected clients.

proxy.node.https.user_agent_total_response_bytes
  Total number of bytes sent to https connected clients.

proxy.process.https.user_agent_response_document_total_size
  Total size of response body data sent to https connected clients.

proxy.process.https.user_agent_response_header_total_size
  Total size of response headers sent to https connected clients.

proxy.node.https.origin_server_total_request_bytes
  Total number of bytes sent to https connected origins.

proxy.process.https.origin_server_request_document_total_size
  Total size of request body data sent to https connected origins.

proxy.process.https.origin_server_request_header_total_size
  Total size of request headers sent to https connected origins.

proxy.node.https.origin_server_total_response_bytes
  Total number of bytes received from https connected origins.

proxy.process.https.origin_server_response_document_total_size
  Total size of response body data from https connected origins.

proxy.process.https.origin_server_response_header_total_size
  Total size of header data from https connected origins.

proxy.node.https.user_agent_total_bytes
  Total bytes transferred to/from https connected clients.

proxy.node.https.origin_server_total_bytes
  Total bytes transferred to/from https connected origins.

proxy.process.ssl.user_agent_other_errors
  Total number of *other* ssl client connection errors (counts ssl
  errors that are not captured in other user agent stats below)

proxy.process.ssl.user_agent_expired_cert
  Total number of ssl client connection failures where the cert was
  expired.

proxy.process.ssl.user_agent_revoked_cert
  Total number of ssl client connection failures where the cert was
  revoked.

proxy.process.ssl.user_agent_unknown_cert
  Total number of ssl client connection failures related to the cert,
  but specific error was unknown.

proxy.process.ssl.user_agent_cert_verify_failed
  Total number of ssl client connection failures where cert verification
  failed.

proxy.process.ssl.user_agent_bad_cert
  Total number of ssl client connection failures where the cert is bad.

proxy.process.ssl.user_agent_decryption_failed
  Total number of ssl client connection decryption failures (during
  negotiation).

proxy.process.ssl.user_agent_wrong_version
  Total number of ssl client connections that provided an invalid protocol
  version.

proxy.process.ssl.user_agent_unknown_ca
  Total number of ssl client connection that failed due to unknown ca.

proxy.process.ssl.origin_server_other_errors
  Total number of *other* ssl origin server connection errors (counts ssl
  errors that are not captured in other origin server stats below).

proxy.process.ssl.origin_server_expired_cert
  Total number of ssl origin server connection failures where the cert
  was expired.

proxy.process.ssl.origin_server_revoked_cert
  Total number of ssl origin server connection failures where the cert
  was revoked.

proxy.process.ssl.origin_server_unknown_cert
  Total number of ssl origin server connection failures related to the
  cert where specific error was unknown.

proxy.process.ssl.origin_server_cert_verify_failed
  Total number of ssl origin server connection failures where cert
  verification failed.

proxy.process.ssl.origin_server_bad_cert
  Total number of ssl origin server connection failures where the cert
  is bad.

proxy.process.ssl.origin_server_decryption_failed
  Total number of ssl origin server connection decryption failures
  (during negotiation).

proxy.process.ssl.origin_server_wrong_version
  Total number of ssl origin server connections that provided an invalid
  protocol version.

proxy.process.ssl.origin_server_unknown_ca
  Total number of ssl origin server connection that failed due to
  unknown ca.

proxy.process.ssl.user_agent_sessions
  Total number of ssl/tls sessions created.

proxy.process.ssl.user_agent_session_hit
  Total number of session hits.  A previous session was reused which
  resulted in an abbreviated ssl client negotiation.

proxy.process.ssl.user_agent_session_miss
  Total number of session misses.  The ssl client provided a session id
  that was not found in cache and, therefore, could not be used.

proxy.process.ssl.user_agent_session_timeout
  Total number of session timeouts.  The ssl client provided a session, but
  it could not be used because it was past the session timeout.


> SSL statistics
> --------------
>
>                 Key: TS-2169
>                 URL: https://issues.apache.org/jira/browse/TS-2169
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: SSL, Stats
>            Reporter: David Carlin
>             Fix For: 5.1.0
>
>         Attachments: TS-2169.patch
>
>
> It would be swell if there were some traffic_line SSL statistic variables.
> For instance, number of SSL connections and SSL bytes.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to