mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	增加API方法调用耗时统计
This commit is contained in:
		@@ -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;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user