process

package
v0.0.0-...-5af6bcd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL