| 22 | ) |
| 23 | |
| 24 | type processCollector struct { |
| 25 | collectFn func(chan<- Metric) |
| 26 | describeFn func(chan<- *Desc) |
| 27 | pidFn func() (int, error) |
| 28 | reportErrors bool |
| 29 | cpuTotal *Desc |
| 30 | openFDs, maxFDs *Desc |
| 31 | vsize, maxVsize *Desc |
| 32 | rss *Desc |
| 33 | startTime *Desc |
| 34 | inBytes, outBytes *Desc |
| 35 | } |
| 36 | |
| 37 | // ProcessCollectorOpts defines the behavior of a process metrics collector |
| 38 | // created with NewProcessCollector. |
nothing calls this directly
no outgoing calls
no test coverage detected