proto/ApmBaseDataFlow.proto

175 lines
2.2 KiB
Protocol Buffer
Raw Normal View History

2022-06-20 08:30:45 +00:00
syntax = "proto3";
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;
int32 probe_if = 2;
//四元组
/**
*
*/
int32 request_port = 3;
/**
*
*/
int32 response_port = 4;
/**
* IP
*/
int32 request_ip = 5;
/**
* ip
*/
int32 response_ip = 6;
/**
* mac
*/
int64 src_mac = 7;
/**
* mac
*/
int64 dst_mac = 8;
/**
*
*/
int32 vlan_id = 9;
int32 tv_sec = 10;
int32 tv_usec = 11;
/**
*
*/
int32 start_tm = 12;
/**
*
*/
int32 total_bytes = 13;
/**
*
*/
int32 total_packets = 14;
/**
*
*/
int32 total_drop_packets = 15;
/**
*
*/
int32 retran_time_delay = 16;
/**
* rtt
*/
int32 client_rtt = 17;
/**
* Rtt
*/
int32 server_rtt = 18;
/**
*
*/
int32 user_response_time = 19;
/**
*
*/
int32 server_response_time = 20;
/**
* tcp回话连接失败数
*/
int32 con_fail = 21;
/**
*
*/
// long reset = 22;
/**
*
*/
int32 bytes_in = 23;
/**
*
*/
int32 bytes_out = 24;
/**
*
*/
int32 time_flag = 25;
/**
*
*/
int32 end_tm = 26;
/**
*
*/
int32 end_tm_usec = 27;
/**
*
*/
int32 respon_num = 28;
/**
*
*/
int32 cs_window = 29;
/**
*
*/
int32 sc_window = 30;
/**
*
*/
int32 cs_reset = 31;
/**
*
*/
int32 sc_reset = 32;
/**
*
*/
int32 cs_retran = 33;
/**
*
*/
int32 sc_retran = 34;
/**
*
*/
int32 conn_setup_tm = 35;
/**
*
*/
int32 new_session = 36;
int32 cs_alert = 37;
int32 sc_alert = 38;
string protocal = 39;
}