增加API方法调用耗时统计

This commit is contained in:
GoEdgeLab
2022-01-19 16:54:03 +08:00
parent 354a39da5b
commit 5d06c34fd7
8 changed files with 910 additions and 85 deletions

View File

@@ -38,6 +38,9 @@ service APINodeService {
// 计算使用某个SSL证书的API节点数量
rpc countAllEnabledAPINodesWithSSLCertId (CountAllEnabledAPINodesWithSSLCertIdRequest) returns (RPCCountResponse);
// 修改调试模式状态
rpc debugAPINode(DebugAPINodeRequest) returns (RPCSuccess);
}
// 创建API节点
@@ -135,3 +138,8 @@ message FindCurrentAPINodeResponse {
message CountAllEnabledAPINodesWithSSLCertIdRequest {
int64 sslCertId = 1;
}
// 修改调试模式状态
message DebugAPINodeRequest {
bool debug = 1;
}