This commit is contained in:
Pellin 2017-01-03 14:20:23 +01:00
parent 3eb5eecdd0
commit e0e49fde3f
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ package procstat
import (
"runtime"
"time"
"github.com/shirou/gopsutil/process"
@ -109,6 +109,6 @@ func (p *SpecProcessor) pushMetrics() {
}
fields[prefix+"num_cpu"] = runtime.NumCPU()
p.acc.AddFields("procstat", fields, p.tags)
}