Add pagefault data to procstat input plugin (#5769)

This commit is contained in:
Matthew Crenshaw
2019-04-25 20:21:02 -04:00
committed by Daniel Nelson
parent 10b2a3de30
commit 9c3af1e6ac
4 changed files with 17 additions and 0 deletions

View File

@@ -116,6 +116,10 @@ func (p *testProc) Tags() map[string]string {
return p.tags
}
func (p *testProc) PageFaults() (*process.PageFaultsStat, error) {
return &process.PageFaultsStat{}, nil
}
func (p *testProc) IOCounters() (*process.IOCountersStat, error) {
return &process.IOCountersStat{}, nil
}