实现基础的统计指标

This commit is contained in:
刘祥超
2021-06-30 20:01:00 +08:00
parent 889c52330d
commit df7859387d
15 changed files with 948 additions and 3 deletions

View File

@@ -109,6 +109,10 @@ func (this *RPCClient) ServerDailyStatRPC() pb.ServerDailyStatServiceClient {
return pb.NewServerDailyStatServiceClient(this.pickConn())
}
func (this *RPCClient) MetricStatRPC() pb.MetricStatServiceClient {
return pb.NewMetricStatServiceClient(this.pickConn())
}
// Context 节点上下文信息
func (this *RPCClient) Context() context.Context {
ctx := context.Background()