增加API方法调用耗时统计

This commit is contained in:
刘祥超
2022-01-19 16:54:03 +08:00
parent 487ecbc1a5
commit dc001cc06c
8 changed files with 910 additions and 85 deletions

View File

@@ -0,0 +1,18 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_api_node.proto";
message APIMethodStat {
int64 id = 1;
int64 apiNodeId = 2;
string method = 3;
string tag = 4;
float costMs = 5;
float peekMs = 6;
int64 countCalls = 7;
APINode apiNode = 30;
}