process

package
v0.0.0-...-422593f Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: AGPL-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