pull/351/head
wangchuxiao 2 years ago
parent 9afaba4382
commit 7f1acb4532

@ -126,6 +126,8 @@ func (rpc *rpcAuth) Run() {
promePkg.NewGrpcRequestCounter()
promePkg.NewGrpcRequestFailedCounter()
promePkg.NewGrpcRequestSuccessCounter()
promePkg.NewUserRegisterCounter()
promePkg.NewUserLoginCounter()
grpcOpts = append(grpcOpts, grpc.UnaryInterceptor(promePkg.UnaryServerInterceptorProme))
}
srv := grpc.NewServer(grpcOpts...)

Loading…
Cancel
Save