Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultProcMountPoint is the common mount point of the proc filesystem.
DefaultProcMountPoint = "/proc"
)
Variables ¶
View Source
var (
ErrUnsupportedCollector = errors.New("unsupported platform")
)
Functions ¶
func NewProcessCollector ¶
func NewProcessCollector() (prometheus.Collector, error)
NewProcessCollector makes a new custom process collector used to collect process metrics the default instrumentation doesn't support.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.