Help us shape the future of Go! Take the 2026 Go Developer Survey

process

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 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