Add user tag to procstat input (#4386)
This commit is contained in:
@@ -104,6 +104,10 @@ func (p *testProc) PID() PID {
|
||||
return p.pid
|
||||
}
|
||||
|
||||
func (p *testProc) Username() (string, error) {
|
||||
return "testuser", nil
|
||||
}
|
||||
|
||||
func (p *testProc) Tags() map[string]string {
|
||||
return p.tags
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user