mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-09 20:49:52 +08:00
config path
This commit is contained in:
parent
9f8833baa1
commit
c74841fd96
@ -43,7 +43,7 @@ func start(rpcPorts []int, rpcRegisterName string, prometheusPorts []int, rpcFn
|
|||||||
prome.NewGrpcRequestFailedCounter()
|
prome.NewGrpcRequestFailedCounter()
|
||||||
prome.NewGrpcRequestSuccessCounter()
|
prome.NewGrpcRequestSuccessCounter()
|
||||||
options = append(options, []grpc.ServerOption{
|
options = append(options, []grpc.ServerOption{
|
||||||
grpc.UnaryInterceptor(prome.UnaryServerInterceptorPrometheus),
|
//grpc.UnaryInterceptor(prome.UnaryServerInterceptorPrometheus),
|
||||||
grpc.StreamInterceptor(grpcPrometheus.StreamServerInterceptor),
|
grpc.StreamInterceptor(grpcPrometheus.StreamServerInterceptor),
|
||||||
grpc.UnaryInterceptor(grpcPrometheus.UnaryServerInterceptor),
|
grpc.UnaryInterceptor(grpcPrometheus.UnaryServerInterceptor),
|
||||||
}...)
|
}...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user