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
Mario Trangoni
1f11a86d59
Fix nfs golint issues ( #863 )
...
* procfs: update vendoring
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
* procfs: fix e2e tests after nfs changes
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2018-03-22 22:25:37 +01:00
Tobias Schmidt
a5bd651888
Update vendored github.com/prometheus/procfs packages
2018-03-10 15:20:20 +01:00
Ben Kochie
01bd99fb1a
Refactor NFS client collector ( #816 )
...
* Update vendor github.com/prometheus/procfs/...
* Refactor NFS collector
Use new procfs library to parse NFS client stats.
* Ignore nfs proc file not existing.
* Refactor with reflection to walk the structs.
2018-02-15 13:40:38 +01:00
Ben Kochie
f9e91156d0
Update vendoring ( #801 )
...
* Update vendor github.com/godbus/dbus@v4.1.0
* Update vendor github.com/golang/protobuf/proto
* Update vendor github.com/mdlayher/netlink/...
* Update vendor github.com/prometheus/client_golang/prometheus/...
* Update vendor github.com/prometheus/client_model/go
* Update vendor github.com/prometheus/common/...
* Update vendor github.com/prometheus/procfs/...
* Update vendor github.com/sirupsen/logrus@v1.0.4
* Update vendor golang.org/x/...
* Update vendor gopkg.in/alecthomas/kingpin.v2
* Remove obsolete vendor github.com/mdlayher/netlink/genetlink
2018-01-25 18:20:39 +01:00
Ben Kochie
4d7aa57da0
Update vendoring ( #722 )
...
* Update vendor github.com/beevik/ntp@v0.2.0
* Update vendor github.com/mdlayher/netlink/...
* Update vendor github.com/mdlayher/wifi/...
Adds vendor github.com/mdlayher/genetlink
* Update vendor github.com/prometheus/common/...
* Update vendor github.com/prometheus/procfs/...
* Update vendor golang.org/x/sys/unix
* Update vendor golang.org/x/sys/windows
2017-11-02 12:30:34 +01:00
Ben Kochie
deadfef4c9
Update vendoring ( #685 )
...
* Update vendor github.com/coreos/go-systemd/dbus@v15
* Update vendor github.com/ema/qdisc
* Update vendor github.com/godbus/dbus
* Update vendor github.com/golang/protobuf/proto
* Update vendor github.com/lufia/iostat
* Update vendor github.com/matttproud/golang_protobuf_extensions/pbutil@v1.0.0
* Update vendor github.com/prometheus/client_golang/...
* Update vendor github.com/prometheus/common/...
* Update vendor github.com/prometheus/procfs/...
* Update vendor github.com/sirupsen/logrus@v1.0.3
Adds vendor golang.org/x/crypto
* Update vendor golang.org/x/net/...
* Update vendor golang.org/x/sys/...
* Update end to end output.
2017-10-05 16:20:47 +02:00
Tobias Schmidt
30fb33f7a4
Update github.com/prometheus/procfs dependencies
2017-06-08 14:44:11 +02:00
Filippo Giunchedi
2e9758564e
Update github.com/prometheus/procfs dependency
...
Fix IPVS ipv6 parsing, see also prometheus/procfs#40
2017-05-04 16:40:25 +02:00
Tobias Schmidt
d31c29490e
Update github.com/prometheus/procfs dependency ( #572 )
2017-04-25 10:24:59 +02:00
Matt Layher
1feb091b36
Initial XFS collector
2017-04-22 11:53:07 -04:00
Tobias Schmidt
ce117d7a40
Update vendored packages
2017-02-28 18:20:24 -04:00
Matt Layher
5c6ff86f9d
Update vendored procfs for buddyinfo, mountstats, and XFS changes
2017-02-14 11:04:28 -05:00
Matt Layher
44d542b286
Bump github.com/prometheus/procfs for uint64 mountstats counters
2017-02-01 14:13:59 -05:00
Matt Layher
bae238be61
Update github.com/prometheus/procfs to latest revision
2016-12-07 12:19:16 -05:00
Tobias Schmidt
33f99c4fc1
Vendor all dependencies
...
Uses godep to vendor dependencies. Godeps is not necessary during build,
golang's new vendor support is used instead.
2016-01-21 16:41:53 -05:00