feat: added metrics service v2

This commit is contained in:
Marvin Zhang
2024-06-26 23:23:14 +08:00
parent 265b09862f
commit 7bdce1af58
36 changed files with 302 additions and 437 deletions

View File

@@ -205,10 +205,7 @@ func NewWorkerServiceV2() (res *WorkerServiceV2, err error) {
}
// grpc client
svc.client, err = client.NewGrpcClientV2()
if err != nil {
return nil, err
}
svc.client = client.GetGrpcClientV2()
// handler service
svc.handlerSvc, err = handler.GetTaskHandlerServiceV2()