[fix][worker]:Fix the issue of missing disk usage reporting information in the worker (#15565)

Co-authored-by: Rick Cheng <rickchengx@gmail.com>
This commit is contained in:
seckiller 2024-02-06 16:43:29 +08:00 committed by GitHub
parent 1b32e28cc8
commit 89da67ddeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,6 +68,7 @@ public class WorkerHeartBeatTask extends BaseHeartBeatTask<WorkerHeartBeat> {
.cpuUsage(systemMetrics.getTotalCpuUsedPercentage())
.jvmMemoryUsage(systemMetrics.getJvmMemoryUsedPercentage())
.memoryUsage(systemMetrics.getSystemMemoryUsedPercentage())
.diskUsage(systemMetrics.getDiskUsedPercentage())
.processId(processId)
.workerHostWeight(workerConfig.getHostWeight())
.threadPoolUsage(workerTaskExecutorThreadPool.getRunningTaskExecutorSize()