Registry / utility / m3db-prometheus-procfs

m3db-prometheus-procfs

JSON →
library0.8.1gogounverified

Package procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.

go get github.com/m3db/prometheus_procfs
INSTALL
IMPORT
SIG · M3DB-PROMETHEUS-PR
M
m3db-prometheus-procfs
utilitygov0.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

procfs
github.com/m3db/prometheus_procfs

List all processes from the proc filesystem.

package main import ( "fmt" "github.com/m3db/prometheus_procfs" ) func main() { fs, err := procfs.NewFS("/proc") if err != nil { panic(err) } procs, err := fs.AllProcs() if err != nil { panic(err) } fmt.Printf("Number of processes: %d\n", len(procs)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
m3db-prometheus-procfs — go get m3db-prometheus-procfs · libregistry