实现基础的统计指标

This commit is contained in:
GoEdgeLab
2021-06-30 20:01:00 +08:00
parent 82d21cee0d
commit 7ca9c3a22c
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()