Merge branch 'develop' into 'master'

Update README.md to master

See merge request galaxy/tsg_olap/app-protocol-stat-traffic-merge!7
This commit is contained in:
戚岱杰
2024-04-02 05:49:54 +00:00

View File

@@ -1,10 +1,10 @@
# app-protocol-stat-traffic-merge # app-protocol-stat-traffic-merge
Live Traffic Chart统计程序基于协议栈拆分多流聚合存储到协议与应用统计表中使用增量窗口计算统计周期5watermark5秒。 Live Traffic Chart统计程序基于协议栈拆分多流聚合存储到协议与应用统计表中使用增量窗口计算默认统计周期1watermark1秒。
## 数据源 ## 数据源
以下不论基于哪种计算Topic均为NETWORK-TRAFFIC-METRICS 以下不论基于哪种计算Topic均为NETWORK-TRAFFIC-METRIC
### 1.app-protocol-stat-traffic-agent程序基于已关闭/过渡会话日志统计Application and Protocol Metrics聚合粒度为1秒。TSG 23.05版本) ### 1.app-protocol-stat-traffic-agent程序基于已关闭/过渡会话日志统计Application and Protocol Metrics聚合粒度为1秒。TSG 23.05版本)
@@ -16,7 +16,11 @@ Live Traffic Chart统计程序基于协议栈拆分多流聚合存储到
### 2.基于Tags内容进行分组统计。 ### 2.基于Tags内容进行分组统计。
### 3.拆分protocol_stack_id协议树为多个节点例如ETHERNET.IPv4.TCP.https.kingsoft.wps_office每个节点ID为 ### 3.将原始Metrics中的decoded_path和app进行拼接,例如:{"decoded_path": "ETHERNET.IPv4.TCP.https","app": "kingsoft.wps_office"}
拼接后结果ETHERNET.IPv4.TCP.https.kingsoft.wps_office
### 4.拆分protocol_stack_id协议树为多个节点例如ETHERNET.IPv4.TCP.https.kingsoft.wps_office每个节点ID为
1. ETHERNET 1. ETHERNET
2. ETHERNET.IPv4 2. ETHERNET.IPv4
@@ -25,17 +29,17 @@ Live Traffic Chart统计程序基于协议栈拆分多流聚合存储到
5. ETHERNET.IPv4.TCP.https.kingsoft 5. ETHERNET.IPv4.TCP.https.kingsoft
6. ETHERNET.IPv4.TCP.https.kingsoft.wps_office 6. ETHERNET.IPv4.TCP.https.kingsoft.wps_office
#### 为避免展示重复的协议拆分应去除Decoded Path最后一个元素Application(第一个元素)重复的基础协议,例如:{"protocol_label": "ETHERNET.IPv4.TCP.dns","app_full_path": "dns"} #### 4.1 为避免展示重复的协议拆分应去除Decoded Path最后一个元素app第一个元素重复的基础协议例如{"decoded_path": "ETHERNET.IPv4.TCP.dns","app": "dns"}
##### 将decoded_path内最后的一个基础协议去除
1. ETHERNET 1. ETHERNET
2. ETHERNET.IPv4 2. ETHERNET.IPv4
3. ETHERNET.IPv4.TCP 3. ETHERNET.IPv4.TCP
4. ETHERNET.IPv4.TCP.dns 4. ETHERNET.IPv4.TCP.dns
##### 将protocol_label内最后的一个基础协议去除
### 4.app_name仅在终端节点输出。 ### 5.app_name仅在终端节点输出。
### 5.输出结果时Measurement Name=application_protocol_stat。 ### 6.输出结果时Measurement Name=application_protocol_stat。
<br/> <br/>