Documentation ¶
Index ¶
Constants ¶
View Source
const ( PID = "pid" Comm = "comm" PPID = "ppid" Cmdline = "cmdline" Threads = "threads" )
We use these keys in node metadata
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachingWalker ¶
type CachingWalker struct {
// contains filtered or unexported fields
}
CachingWalker is a walker than caches a copy of the output from another Walker, and then allows other concurrent readers to Walk that copy.
func NewCachingWalker ¶
func NewCachingWalker(source Walker) *CachingWalker
NewCachingWalker returns a new CachingWalker
func (*CachingWalker) Name ¶ added in v0.10.0
func (*CachingWalker) Name() string
Name of this ticker, for metrics gathering
func (*CachingWalker) Tick ¶ added in v0.7.0
func (c *CachingWalker) Tick() error
Tick updates cached copy of process list
func (*CachingWalker) Walk ¶
func (c *CachingWalker) Walk(f func(Process)) error
Walk walks a cached copy of process list
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter generates Reports containing the Process topology.
func NewReporter ¶
NewReporter makes a new Reporter.
Click to show internal directories.
Click to hide internal directories.