mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
fix: regression in internode bytes counting (#18880)
wire up missing metrics since #18461 Bonus: fix trace output inconsistency
This commit is contained in:
@@ -105,16 +105,18 @@ func NewManager(ctx context.Context, o ManagerOptions) (*Manager, error) {
|
||||
continue
|
||||
}
|
||||
m.targets[host] = newConnection(connectionParams{
|
||||
ctx: ctx,
|
||||
id: m.ID,
|
||||
local: o.Local,
|
||||
remote: host,
|
||||
dial: o.Dialer,
|
||||
handlers: &m.handlers,
|
||||
auth: o.AddAuth,
|
||||
blockConnect: o.BlockConnect,
|
||||
tlsConfig: o.TLSConfig,
|
||||
publisher: o.TraceTo,
|
||||
ctx: ctx,
|
||||
id: m.ID,
|
||||
local: o.Local,
|
||||
remote: host,
|
||||
dial: o.Dialer,
|
||||
handlers: &m.handlers,
|
||||
auth: o.AddAuth,
|
||||
blockConnect: o.BlockConnect,
|
||||
tlsConfig: o.TLSConfig,
|
||||
publisher: o.TraceTo,
|
||||
incomingBytes: o.Incoming,
|
||||
outgoingBytes: o.Outgoing,
|
||||
})
|
||||
}
|
||||
if !found {
|
||||
|
||||
Reference in New Issue
Block a user