Add memory_usage field to procstat input plugin (#6249)
This commit is contained in:
committed by
Daniel Nelson
parent
5473872ac1
commit
e36639b15d
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user