From 146f565829368988618c064af9ef77bcb0952012 Mon Sep 17 00:00:00 2001 From: yangdechang Date: Tue, 2 Aug 2022 14:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=A8=E6=95=B0=E6=8D=AE=E6=B5=81?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=EF=BC=8C=E9=83=A8=E5=88=86=E6=B5=81=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=9A=84=E6=B3=A8=E9=87=8A=E5=90=8E=E7=BB=AD?= =?UTF-8?q?=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ApmBaseDataFlow.proto | 74 ++++++++++++------------ AppFlow.proto | 44 +++++++------- BacktrackingFlow.proto | 38 ++++++------- BussFlowDb.proto | 100 ++++++++++++++++---------------- BussFlowExternal.proto | 62 ++++++++++---------- BussFlowMidd.proto | 100 ++++++++++++++++---------------- BussFlowWeb.proto | 126 ++++++++++++++++++++--------------------- QoeFlow.proto | 76 ++++++++++++------------- UsrFlow.proto | 60 ++++++++++---------- 9 files changed, 340 insertions(+), 340 deletions(-) diff --git a/ApmBaseDataFlow.proto b/ApmBaseDataFlow.proto index 4267556..eebae40 100644 --- a/ApmBaseDataFlow.proto +++ b/ApmBaseDataFlow.proto @@ -12,43 +12,43 @@ package dataflow; message ApmBaseDataFlow { - int32 table_id = 1; //编号28 - uint32 probe_if = 2; - uint32 tuple_source = 3; - uint32 tuple_dest = 4; - IPAddress tuple_saddr = 5; - IPAddress tuple_daddr = 6; - string src_mac = 7; - string dst_mac = 8; - uint32 vlan_id = 9; - uint32 start_tm_tv_sec = 10; - uint32 start_tm_tv_usec = 11; - uint32 total_bytes = 12; - uint32 total_packets = 13; - uint32 total_drop_packets = 14; - uint32 retran_time_delay = 15; - uint32 client_rtt = 16; - uint32 server_rtt = 17; - uint32 user_response_time = 18; - uint32 server_response_time = 19; - uint32 con_fail = 20; - uint32 bytes_in = 21; - uint32 bytes_out = 22; - uint32 time_flag = 23; - uint32 end_tm_tv_sec = 24; - uint32 end_tm_tv_usec = 25; - uint32 respon_num = 26; //总响应数 - uint32 cs_window = 27; - uint32 sc_window = 28; - uint32 cs_reset = 29; - uint32 sc_reset = 30; - uint32 cs_retran = 31; - uint32 sc_retran = 32; - uint32 conn_setup_tm = 33; //会话建立时间【三次握手时间】 - uint32 new_session = 34; - uint32 cs_alert = 35; - uint32 sc_alert = 36; - bytes protocol = 37; + int32 table_id = 1; //编号28 + uint32 probe_if = 2; //探针抓包口 + uint32 tuple_source = 3; //四元组-源端口 + uint32 tuple_dest = 4; //四元组-目的端口 + IPAddress tuple_saddr = 5; //四元组-源ip地址 + IPAddress tuple_daddr = 6; //四元组-目的ip地址 + string src_mac = 7; //源mac地址 + string dst_mac = 8; //目的mac地址 + uint32 vlan_id = 9; //链路编号 + uint32 start_tm_tv_sec = 10; //开始时间(秒) + uint32 start_tm_tv_usec = 11; //开始时间(微秒) + uint32 total_bytes = 12; //总字节数 + uint32 total_packets = 13; //总包数 + uint32 total_drop_packets = 14; //总丢包数 + uint32 retran_time_delay = 15; //重传延时 + uint32 client_rtt = 16; //客户端rtt + uint32 server_rtt = 17; //服务端rtt + uint32 user_response_time = 18; //用户响应时间 + uint32 server_response_time = 19; //服务端响应时间 + uint32 con_fail = 20; //tcp会话连接失败数 + uint32 bytes_in = 21; //服务端总字节数 + uint32 bytes_out = 22; //客户端总字节数 + uint32 time_flag = 23; //探针推送数据时间 + uint32 end_tm_tv_sec = 24; //结束时间(秒) + uint32 end_tm_tv_usec = 25; //结束时间(微秒) + uint32 respon_num = 26; //总响应数 + uint32 cs_window = 27; //客户端零窗口数 + uint32 sc_window = 28; //服务端零窗口数 + uint32 cs_reset = 29; //客户端重置数 + uint32 sc_reset = 30; //服务端重置数 + uint32 cs_retran = 31; //客户端重传数 + uint32 sc_retran = 32; //服务端重传数 + uint32 conn_setup_tm = 33; //会话建立时间【三次握手时间】 + uint32 new_session = 34; //新建会话数 + uint32 cs_alert = 35; // + uint32 sc_alert = 36; // + bytes protocol = 37; //协议类型 } diff --git a/AppFlow.proto b/AppFlow.proto index f66acef..a5ee4c2 100644 --- a/AppFlow.proto +++ b/AppFlow.proto @@ -10,28 +10,28 @@ option go_package = "../grpc-gen;grpcgen"; package dataflow; message AppFlow { - int32 table_id = 1; //编号17 - IPAddress src_ip = 2; - uint32 src_port = 3; - IPAddress dst_ip = 4; - uint32 dst_port = 5; - uint32 s_tv_sec = 6; - uint32 s_tv_usec = 7; - uint32 l_tv_sec = 8; - uint32 l_tv_usec = 9; - uint32 e_tv_sec = 10; - uint32 e_tv_usec = 11; + int32 table_id = 1; //编号17 + IPAddress src_ip = 2; //< source ip + uint32 src_port = 3; //< source port + IPAddress dst_ip = 4; //< destination ip + uint32 dst_port = 5; //< destination port + uint32 s_tv_sec = 6; //< start time + uint32 s_tv_usec = 7; //< start time + uint32 l_tv_sec = 8; //< last update time + uint32 l_tv_usec = 9; //< last update time + uint32 e_tv_sec = 10; //< end time + uint32 e_tv_usec = 11; //< end time uint32 input_packets = 12; //< input packets (dst->src) - uint32 output_packets = 13 //< output packets (src->dst) + uint32 output_packets = 13; //< output packets (src->dst) uint32 input_bytes = 14; //< input bytes (dst->src) - uint32 output_bytes = 15; - bytes protocol = 16; //< protocol - uint32 app_id = 17; - uint32 app_group_id = 18; - uint32 probe_if = 19; - uint32 app_style = 20; - uint32 time_flag = 21; - int32 vlan_id = 22; - int32 mpls_label = 23; - int32 tos = 24; + uint32 output_bytes = 15; //< output bytes (src->dst) + bytes protocol = 16; //< protocol + uint32 app_id = 17; //< application idectification + uint32 app_group_id = 18; //< application group idectification + uint32 probe_if = 19; //探针编号 + uint32 app_style = 20; //< application style + uint32 time_flag = 21; //