From c74841fd96582c670f37a5825a9ea09a67ad2998 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 23 Feb 2023 19:44:43 +0800 Subject: [PATCH] config path --- internal/startrpc/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/startrpc/start.go b/internal/startrpc/start.go index 51de09fe0..e92f256f5 100644 --- a/internal/startrpc/start.go +++ b/internal/startrpc/start.go @@ -43,7 +43,7 @@ func start(rpcPorts []int, rpcRegisterName string, prometheusPorts []int, rpcFn prome.NewGrpcRequestFailedCounter() prome.NewGrpcRequestSuccessCounter() options = append(options, []grpc.ServerOption{ - grpc.UnaryInterceptor(prome.UnaryServerInterceptorPrometheus), + //grpc.UnaryInterceptor(prome.UnaryServerInterceptorPrometheus), grpc.StreamInterceptor(grpcPrometheus.StreamServerInterceptor), grpc.UnaryInterceptor(grpcPrometheus.UnaryServerInterceptor), }...)