prometheus

This commit is contained in:
wangchuxiao
2022-09-15 16:39:49 +08:00
parent 97187af0c7
commit 78ce5c3f69
12 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func (s *adminCMSServer) Run() {
promePkg.NewGrpcRequestFailedCounter()
promePkg.NewGrpcRequestSuccessCounter()
grpcOpts = append(grpcOpts, []grpc.ServerOption{
grpc.UnaryInterceptor(promePkg.UnaryServerInterceptorProme),
// grpc.UnaryInterceptor(promePkg.UnaryServerInterceptorProme),
grpc.StreamInterceptor(grpcPrometheus.StreamServerInterceptor),
grpc.UnaryInterceptor(grpcPrometheus.UnaryServerInterceptor),
}...)