mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Add tracing capabilities for internode rpc Servers (#6254)
This commit is contained in:
committed by
Nitish Tiwari
parent
9719640e34
commit
2f1756489e
@@ -226,7 +226,7 @@ func registerStorageRPCRouters(router *mux.Router, endpoints EndpointList) {
|
||||
logger.Fatal(uiErrUnableToWriteInBackend(err), "Unable to configure one of server's RPC services")
|
||||
}
|
||||
subrouter := router.PathPrefix(minioReservedBucketPath).Subrouter()
|
||||
subrouter.Path(path.Join(storageServiceSubPath, endpoint.Path)).Handler(rpcServer)
|
||||
subrouter.Path(path.Join(storageServiceSubPath, endpoint.Path)).HandlerFunc(httpTraceHdrs(rpcServer.ServeHTTP))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user