45 lines
1.1 KiB
Protocol Buffer
45 lines
1.1 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 UsrFlow {
|
|
|
|
int32 table_id = 1; //编号19
|
|
uint32 probe_if = 2;
|
|
IPAddress server_ip = 3;
|
|
IPAddress client_ip = 4;
|
|
uint32 client_port = 5;
|
|
uint32 client_rtt = 6;
|
|
uint32 server_rtt = 7;
|
|
uint32 s_tv_sec = 8;
|
|
uint32 s_tv_usec = 9;
|
|
uint32 e_tv_sec = 10;
|
|
uint32 e_tv_usec = 11;
|
|
uint32 server_think = 12;
|
|
uint32 page_size = 13;
|
|
uint32 app_id = 14;
|
|
uint32 app_group_id = 15;
|
|
bytes request_url = 16;
|
|
bytes referer_url = 17;
|
|
uint32 return_code = 18;
|
|
uint32 err_tv_sec = 19;
|
|
uint32 err_tv_usec = 20;
|
|
uint32 client_loss_pkt = 21;
|
|
uint32 server_loss_pkt = 22;
|
|
uint32 client_bytes = 23;
|
|
uint32 server_bytes = 24;
|
|
uint32 client_packets = 25;
|
|
uint32 server_packets = 26;
|
|
bytes user_agent = 27;
|
|
bytes content_type = 28;
|
|
uint32 request_transfer_tm = 29;
|
|
uint32 time_flag = 30;
|
|
|
|
} |