mirror of
https://github.com/minio/minio.git
synced 2026-11-05 16:31:29 +00:00
obd: Add console log to OBD output (#10372)
This commit is contained in:
1 parent
80e3dce631
commit
8ea55f9dba
12 files changed
+130
-25
No files matched your search
@@ -420,6 +420,17 @@ func (client *peerRESTClient) ProcOBDInfo(ctx context.Context) (info madmin.Serv
|
||||
return info, err
|
||||
}
|
||||
|
||||
// LogOBDInfo - fetch Log OBD information for a remote node.
|
||||
func (client *peerRESTClient) LogOBDInfo(ctx context.Context) (info madmin.ServerLogOBDInfo, err error) {
|
||||
respBody, err := client.callWithContext(ctx, peerRESTMethodLogOBDInfo, nil, nil, -1)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
defer http.DrainBody(respBody)
|
||||
err = gob.NewDecoder(respBody).Decode(&info)
|
||||
return info, err
|
||||
}
|
||||
|
||||
// StartProfiling - Issues profiling command on the peer node.
|
||||
func (client *peerRESTClient) StartProfiling(profiler string) error {
|
||||
values := make(url.Values)
|
||||
|
||||
Reference in new issue
Block a user