Add memory_usage field to procstat input plugin (#6249)

This commit is contained in:
Matthew Crenshaw
2019-08-14 13:17:38 -04:00
committed by Daniel Nelson
parent 5473872ac1
commit e36639b15d
3 changed files with 10 additions and 0 deletions

View File

@@ -148,6 +148,10 @@ func (p *testProc) Percent(interval time.Duration) (float64, error) {
return 0, nil
}
func (p *testProc) MemoryPercent() (float32, error) {
return 0, nil
}
func (p *testProc) Times() (*cpu.TimesStat, error) {
return &cpu.TimesStat{}, nil
}