diff --git a/pkg/worker/events.go b/pkg/worker/events.go index 6e4811986..b8d79eb55 100644 --- a/pkg/worker/events.go +++ b/pkg/worker/events.go @@ -45,8 +45,8 @@ func (w *Worker) collectAndSendContainerMetrics(ctx context.Context, request *ty MemoryVMS: stats.Memory.VMS, MemorySwap: stats.Memory.Swap, MemoryTotal: uint64(request.Memory * 1024 * 1024), - DiskReadBytes: stats.IO.ReadBytes, - DiskWriteBytes: stats.IO.WriteBytes, + DiskReadBytes: stats.IO.DiskReadBytes, + DiskWriteBytes: stats.IO.DiskWriteBytes, NetworkBytesRecv: stats.NetIO.BytesRecv, NetworkBytesSent: stats.NetIO.BytesSent, NetworkPacketsRecv: stats.NetIO.PacketsRecv,