MCPcopy
hub / github.com/prometheus/client_golang / processCollector

Struct processCollector

prometheus/process_collector.go:24–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22)
23
24type 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected