This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 532fa0d Doc: Add documentation for HTTP/2 statistics
532fa0d is described below
commit 532fa0d7b96e100b43d801192f1f0458ffa7722e
Author: Masaori Koshiba <[email protected]>
AuthorDate: Mon Jun 10 11:08:54 2019 +0900
Doc: Add documentation for HTTP/2 statistics
---
.../statistics/core/http-connection.en.rst | 63 ++++++++++++++++++++--
.../statistics/core/http-transaction.en.rst | 25 +++++++++
2 files changed, 85 insertions(+), 3 deletions(-)
diff --git a/doc/admin-guide/monitoring/statistics/core/http-connection.en.rst
b/doc/admin-guide/monitoring/statistics/core/http-connection.en.rst
index dc55cc3..411881f 100644
--- a/doc/admin-guide/monitoring/statistics/core/http-connection.en.rst
+++ b/doc/admin-guide/monitoring/statistics/core/http-connection.en.rst
@@ -138,12 +138,69 @@ HTTP Connection
This tracks the number of origin connections denied due to being over the
:ts:cv:`proxy.config.http.per_server.connection.max` limit.
-.. ts:stat:: global proxy.process.http2.current_active_client_connections
integer
+
+HTTP/2
+------
+
+
+.. ts:stat:: global proxy.process.http2.total_client_connections integer
+ :type: counter
+
+ Represents the total number of HTTP/2 connections from client to the |TS|.
+
+.. ts:stat:: global proxy.process.http2.current_client_connections integer
:type: gauge
Represents the current number of HTTP/2 connections from client to the |TS|.
-.. ts:stat:: global proxy.process.http2.current_client_streams integer
+.. ts:stat:: global proxy.process.http2.current_active_client_connections
integer
:type: gauge
- Represents the current number of HTTP/2 streams from client to the |TS|.
+ Represents the current number of HTTP/2 active connections from client to
the |TS|.
+
+.. ts:stat:: global proxy.process.http2.connection_errors integer
+ :type: counter
+
+ Represents the total number of HTTP/2 connections errors.
+
+.. ts:stat:: global proxy.process.http2.session_die_default integer
+ :type: counter
+
+ Represents the total number of closed HTTP/2 connections with
+ ``VC_EVENT_NONE`` event.
+
+.. ts:stat:: global proxy.process.http2.session_die_active integer
+ :type: counter
+
+ Represents the total number of closed HTTP/2 connections with
+ ``VC_EVENT_ACTIVE_TIMEOUT`` event.
+
+.. ts:stat:: global proxy.process.http2.session_die_inactive integer
+ :type: counter
+
+ Represents the total number of closed HTTP/2 connections with
+ ``VC_EVENT_INACTIVITY_TIMEOUT`` event.
+
+.. ts:stat:: global proxy.process.http2.session_die_eos integer
+ :type: counter
+
+ Represents the total number of closed HTTP/2 connections with
+ ``VC_EVENT_EOS`` event.
+
+.. ts:stat:: global proxy.process.http2.session_die_error integer
+ :type: counter
+
+ Represents the total number of closed HTTP/2 connections with
+ ``VC_EVENT_ERROR`` event.
+
+.. ts:stat:: global proxy.process.http2.session_die_other integer
+ :type: counter
+
+ Represents the total number of closed HTTP/2 connections with
+ unknown event.
+
+.. ts:stat:: global proxy.process.http2.session_die_high_error_rate integer
+ :type: counter
+
+ Represents the total number of closed HTTP/2 connections with high
+ error rate which is configured by
:ts:cv:`proxy.config.http2.stream_error_rate_threshold`.
diff --git a/doc/admin-guide/monitoring/statistics/core/http-transaction.en.rst
b/doc/admin-guide/monitoring/statistics/core/http-transaction.en.rst
index fd5772b..07a6e60 100644
--- a/doc/admin-guide/monitoring/statistics/core/http-transaction.en.rst
+++ b/doc/admin-guide/monitoring/statistics/core/http-transaction.en.rst
@@ -150,3 +150,28 @@ HTTP Transaction
:units: seconds
:ungathered:
+
+HTTP/2
+------
+
+
+.. ts:stat:: global proxy.process.http2.total_client_streams integer
+ :type: counter
+
+ Represents the total number of HTTP/2 streams from client to the |TS|.
+
+.. ts:stat:: global proxy.process.http2.current_client_streams integer
+ :type: gauge
+
+ Represents the current number of HTTP/2 streams from client to the |TS|.
+
+.. ts:stat:: global proxy.process.http2.total_transactions_time integer
+ :type: counter
+ :units: seconds
+
+ Represents the total transaction time of HTTP/2 streams from client to the
|TS|.
+
+.. ts:stat:: global proxy.process.http2.stream_errors integer
+ :type: counter
+
+ Represents the total number of HTTP/2 stream errors.