mirror of
https://github.com/minio/minio.git
synced 2025-01-27 06:33:18 -05:00
Local and Remote hosts swapped in grid traces (#18574)
Local and Remote hosts swapped in grid trace A bit counter-intuitive, but simple fix.
This commit is contained in:
parent
109a9e3f35
commit
860fc200b0
@ -90,7 +90,7 @@ func (c *muxClient) traceRoundtrip(ctx context.Context, t *tracer, h HandlerID,
|
|||||||
trace := madmin.TraceInfo{
|
trace := madmin.TraceInfo{
|
||||||
TraceType: t.TraceType,
|
TraceType: t.TraceType,
|
||||||
FuncName: prefix + "." + h.String(),
|
FuncName: prefix + "." + h.String(),
|
||||||
NodeName: t.Local,
|
NodeName: t.Remote,
|
||||||
Time: start,
|
Time: start,
|
||||||
Duration: end.Sub(start),
|
Duration: end.Sub(start),
|
||||||
Path: t.Subroute,
|
Path: t.Subroute,
|
||||||
@ -100,7 +100,7 @@ func (c *muxClient) traceRoundtrip(ctx context.Context, t *tracer, h HandlerID,
|
|||||||
Time: start,
|
Time: start,
|
||||||
Proto: "grid",
|
Proto: "grid",
|
||||||
Method: "REQ",
|
Method: "REQ",
|
||||||
Client: t.Remote,
|
Client: t.Local,
|
||||||
Headers: nil,
|
Headers: nil,
|
||||||
Path: t.Subroute,
|
Path: t.Subroute,
|
||||||
Body: []byte(body),
|
Body: []byte(body),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user