This commit is contained in:
710leo 2021-01-21 20:23:13 +08:00
parent b72e2d3fe0
commit 2f87121e27
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ func ProcCollect(p *models.ProcCollect) {
}
procNumItem := core.GaugeValue("proc.num", cnt, p.Tags)
procFdItem := core.GaugeValue("proc.uptime", uptime, p.Tags)
procUptimeItem := core.GaugeValue("proc.fdnum", fdNum, p.Tags)
procUptimeItem := core.GaugeValue("proc.uptime", uptime, p.Tags)
procFdItem := core.GaugeValue("proc.fdnum", fdNum, p.Tags)
memUsedItem := core.GaugeValue("proc.mem.used", memory*1024, p.Tags)
ioReadItem := core.GaugeValue("proc.io.read.bytes", ioRead, p.Tags)
ioWriteItem := core.GaugeValue("proc.io.write.bytes", ioWrite, p.Tags)