mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-08 16:00:25 +08:00
增加API方法调用耗时统计
This commit is contained in:
18
pkg/rpc/protos/models/model_api_method_stat.proto
Normal file
18
pkg/rpc/protos/models/model_api_method_stat.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user