Add pagefault data to procstat input plugin (#5769)
This commit is contained in:
committed by
Daniel Nelson
parent
10b2a3de30
commit
9c3af1e6ac
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user