process

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.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