6d2dfc703c
# Conflicts: # ApmBaseDataFlow.proto # AppFlow.proto # BacktrackingFlow.proto # BussFlowDb.proto
57 lines
1.3 KiB
Protocol Buffer
57 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "Base.proto" ;
|
|
|
|
option java_multiple_files = false;
|
|
option java_package = "com.yuandian.dataflow.proto.msgtype";
|
|
option go_package = "../grpc-gen;grpcgen";
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|