From 7a17e66402afda9101836dcdbe9038699b714f6a Mon Sep 17 00:00:00 2001 From: luzhihao Date: Thu, 17 Aug 2023 20:13:36 +0800 Subject: [PATCH] Update docs --- gopher_tech.md | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/gopher_tech.md b/gopher_tech.md index 8141a1e..642cd65 100644 --- a/gopher_tech.md +++ b/gopher_tech.md @@ -218,9 +218,9 @@ | ------------ | -------------- | ------------ | ----- | ------------------------------------------------------------ | | tgid | | key | | 进程ID | | role | | key | | 客户端/服务端 | -| client_ip | | key | | 客户端:本地IP;服务端:对端IP
备注:如果存在NAT,此IP为NAT后的IP | -| server_ip | | key | | 客户端:对端IP;服务端:本地IP
备注:如果存在NAT,此IP为NAT后的IP | -| server_port | | key | | 客户端:对端端口;服务端:本地端口
备注:如果存在NAT,此Port为NAT后的Port | +| client_ip | | key | | 客户端:本地IP;服务端:对端IP | +| server_ip | | key | | 客户端:对端IP;服务端:本地IP
备注:K8S场景支持Cluster IP转换成Backend IP | +| server_port | | key | | 客户端:对端端口;服务端:本地端口
备注:K8S场景支持Cluster Port转换成Backend Port | | protocol | | key | | 协议族(IPv4、IPv6) | | rx_bytes | tcp_tx_rx(0x8) | Gauge | bytes | rx bytes | | tx_bytes | tcp_tx_rx(0x8) | Gauge | bytes | tx bytes | @@ -251,8 +251,8 @@ | tgid | | key | | 进程ID | | role | | key | | 客户端/服务端 | | client_ip | | key | | 客户端:本地IP;服务端:对端IP | -| server_ip | | key | | 客户端:对端IP;服务端:本地IP | -| server_port | | key | | 客户端:对端端口;服务端:本地端口 | +| server_ip | | key | | 客户端:对端IP;服务端:本地IP
备注:K8S场景支持Cluster IP转换成Backend IP | +| server_port | | key | | 客户端:对端端口;服务端:本地端口
备注:K8S场景支持Cluster Port转换成Backend Port | | protocol | | key | | 协议族(IPv4、IPv6) | | retran_packets | tcp_abn(0x01) | Gauge | | total number of retrans | | retran_ratio | tcp_abn(0x01) | Gauge | | retran ratio | @@ -305,9 +305,9 @@ | metrics_name | table_name | metrics_type | unit | metrics description | Support | | --------------- | ---------- | ------------ | ---- | ------------------------------------------------------------ | -------------------------- | | tgid | | key | | Process ID of l7 session. | openSSL 1.1.1, Go SSL,JSSE | -| client_ip | | key | | Client IP address of l7 session.
备注:如果存在NAT,此IP为NAT后的IP | | -| server_ip | | key | | Server IP address of l7 session.
备注:如果存在NAT,此IP为NAT后的IP | | -| server_port | | key | | Server Port of l7 session.
备注:如果存在NAT,此Port为NAT后的Port | | +| client_ip | | key | | Client IP address of l7 session. | | +| server_ip | | key | | Server IP address of l7 session.
备注:K8S场景支持Cluster IP转换成Backend IP | | +| server_port | | key | | Server Port of l7 session.
备注:K8S场景支持Cluster Port转换成Backend Port | | | l4_role | | key | | Role of l4 protocol(TCP Client/Server or UDP) | | | l7_role | | key | | Role of l7 protocol(Client or Server) | | | protocol | | key | | Name of l7 protocol(http/http2/mysql...) | | @@ -366,28 +366,28 @@ 实体名:proc_flow_perf -| metrics_name | table_name | metrics_type | unit | metrics description | Support | -| ------------- | -------------- | ------------ | ---- | ----------------------------------------------------------- | ------- | -| tgid | | key | | Process ID | | -| remote_ip | | key | | 对端IP地址 | | -| port | | key | | 客户端:对端Port;服务端:本地Port; | | -| role | | key | | 客户端/服务端 | | -| tx_delay | proc_flow_perf | histogram | us | Delay in the Tx direction of the application TCP link. | | -| rx_delay | proc_flow_perf | histogram | us | Delay in the Rx direction of the application TCP link. | | -| tx_throughput | proc_flow_perf | gauge | bps | Throughput in the Tx direction of the application TCP link. | TO BE | -| rx_throughput | proc_flow_perf | gauge | bps | Throughput in the Rx direction of the application TCP link. | TO BE | +| metrics_name | table_name | metrics_type | unit | metrics description | Support | +| ------------- | -------------- | ------------ | ---- | ----------------------------------------------------------- | ------------------------------------------------------------ | +| tgid | | key | | Process ID | | +| remote_ip | | key | | 对端IP地址 | | +| port | | key | | 客户端:对端Port;服务端:本地Port; | | +| role | | key | | 客户端/服务端 | | +| tx_delay | proc_flow_perf | histogram | us | Delay in the Tx direction of the application TCP link. | | +| rx_delay | proc_flow_perf | histogram | us | Delay in the Rx direction of the application TCP link. | 支持内核4.18(EulerOS版本)
>= 5.10
或者应用使用socket option SO_TIMESTAMPNS | +| tx_throughput | proc_flow_perf | gauge | bps | Throughput in the Tx direction of the application TCP link. | TO BE | +| rx_throughput | proc_flow_perf | gauge | bps | Throughput in the Rx direction of the application TCP link. | TO BE | ### 进程性能 实体名:proc_perf -| metrics_name | table_name | metrics_type | unit | metrics description | Support | -| ------------- | ---------- | ------------ | ---- | ----------------------------------- | ------- | -| tgid | | key | | Process ID | | -| tx_delay | proc_perf | histogram | us | TCP delay in the Tx direction. | | -| rx_delay | proc_perf | histogram | us | TCP delay in the Rx direction. | | -| tx_throughput | proc_perf | gauge | bps | TCP throughput in the Tx direction. | TO BE | -| rx_throughput | proc_perf | gauge | bps | TCP throughput in the Rx direction. | TO BE | +| metrics_name | table_name | metrics_type | unit | metrics description | Support | +| ------------- | ---------- | ------------ | ---- | ----------------------------------- | ------------------------------------------------------------ | +| tgid | | key | | Process ID | | +| tx_delay | proc_perf | histogram | us | TCP delay in the Tx direction. | | +| rx_delay | proc_perf | histogram | us | TCP delay in the Rx direction. | 支持内核4.18(EulerOS版本)
>= 5.10
或者应用使用socket option SO_TIMESTAMPNS | +| tx_throughput | proc_perf | gauge | bps | TCP throughput in the Tx direction. | TO BE | +| rx_throughput | proc_perf | gauge | bps | TCP throughput in the Rx direction. | TO BE | -- Gitee