fix typo of prometheus

This commit is contained in:
kevin
2020-09-27 17:15:15 +08:00
parent a958400595
commit 9277ad77f7
9 changed files with 9 additions and 9 deletions

View File

@@ -55,7 +55,7 @@ func (s *rpcServer) Start(register RegisterFn) error {
serverinterceptors.UnaryTracingInterceptor(s.name),
serverinterceptors.UnaryCrashInterceptor(),
serverinterceptors.UnaryStatInterceptor(s.metrics),
serverinterceptors.UnaryPrometheousInterceptor(),
serverinterceptors.UnaryPrometheusInterceptor(),
}
unaryInterceptors = append(unaryInterceptors, s.unaryInterceptors...)
streamInterceptors := []grpc.StreamServerInterceptor{