mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
Add tracing capabilities for internode rpc Servers (#6254)
This commit is contained in:
committed by
Nitish Tiwari
parent
9719640e34
commit
2f1756489e
@@ -203,5 +203,5 @@ func registerPeerRPCRouter(router *mux.Router) {
|
||||
rpcServer, err := NewPeerRPCServer()
|
||||
logger.FatalIf(err, "Unable to initialize peer RPC Server", context.Background())
|
||||
subrouter := router.PathPrefix(minioReservedBucketPath).Subrouter()
|
||||
subrouter.Path(peerServiceSubPath).Handler(rpcServer)
|
||||
subrouter.Path(peerServiceSubPath).HandlerFunc(httpTraceHdrs(rpcServer.ServeHTTP))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user