Node_Exporter/vendor/github.com/prometheus/procfs
Jan Klat c4102f1175 Add sys/class/net parsing from procfs and expose its metrics (#851)
* add sys/class/net parsing from procfs and expose its metrics

Signed-off-by: Jan Klat <jenik@klatys.cz>

* change code to use int pointers per procfs change, move netclass to separate collector, change metric naming

Signed-off-by: Jan Klat <jenik@klatys.cz>

* bump year in licence, remove redundant newline, correct fixtures

Signed-off-by: Jan Klat <jenik@klatys.cz>

* fix style

Signed-off-by: Jan Klat <jenik@klatys.cz>

* change carrier changes to counter type

Signed-off-by: Jan Klat <jenik@klatys.cz>

* fix e2e output

Signed-off-by: Jan Klat <jenik@klatys.cz>

* add fixtures

Signed-off-by: Jan Klat <jenik@klatys.cz>

* update vendor, use fixtures correctly

Signed-off-by: Jan Klat <jenik@klatys.cz>

* change fixtures (device in /sys/class/net should be symlinked)

Signed-off-by: Jan Klat <jenik@klatys.cz>

* correct fixtures for 64k page, updated readme

Signed-off-by: Jan Klat <jenik@klatys.cz>
2018-07-16 15:08:18 +02:00
..
bcache Update vendoring (#801) 2018-01-25 18:20:39 +01:00
internal/util Update vendoring (#801) 2018-01-25 18:20:39 +01:00
nfs Fix nfs golint issues (#863) 2018-03-22 22:25:37 +01:00
sysfs Add sys/class/net parsing from procfs and expose its metrics (#851) 2018-07-16 15:08:18 +02:00
xfs Update vendoring (#801) 2018-01-25 18:20:39 +01:00
buddyinfo.go Update vendoring (#801) 2018-01-25 18:20:39 +01:00
CONTRIBUTING.md Update vendored packages 2017-02-28 18:20:24 -04:00
doc.go Vendor all dependencies 2016-01-21 16:41:53 -05:00
fixtures.ttar Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
fs.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
ipvs.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
LICENSE Vendor all dependencies 2016-01-21 16:41:53 -05:00
MAINTAINERS.md Update vendored packages 2017-02-28 18:20:24 -04:00
Makefile Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
mdstat.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
mountstats.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
net_dev.go Add sys/class/net parsing from procfs and expose its metrics (#851) 2018-07-16 15:08:18 +02:00
NOTICE Vendor all dependencies 2016-01-21 16:41:53 -05:00
proc_io.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
proc_limits.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
proc_ns.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
proc_stat.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
proc.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
README.md Update vendored procfs for buddyinfo, mountstats, and XFS changes 2017-02-14 11:04:28 -05:00
stat.go Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
ttar Update vendored github.com/prometheus/procfs packages 2018-03-10 15:20:20 +01:00
xfrm.go Update github.com/prometheus/procfs dependencies 2017-06-08 14:44:11 +02:00

procfs

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

WARNING: This package is a work in progress. Its API may still break in backwards-incompatible ways without warnings. Use it at your own risk.

GoDoc Build Status Go Report Card