Matt Layher
da6b66371f
collector: reimplement sockstat collector with procfs ( #1552 )
...
* collector: reimplement sockstat collector with procfs
* collector: handle sockstat IPv4 disabled, debug logging
Signed-off-by: Matt Layher <mdlayher@gmail.com>
5 years ago
Ben Kochie
c4c5f1f062
Update github.com/mattn/go-xmlrpc ( #1529 )
...
Fixes: https://github.com/prometheus/node_exporter/issues/1294
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Ben Kochie
8a4c9c154b
Bump procfs to v0.0.7 ( #1538 )
...
Update Prometheus procfs library to the latest release.
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
ksherryBAE
aede04172c
Adding TLS to node exporter - cleaner version ( #1277 )
...
Add support for https connections.
Signed-off-by: ksherryBAE <kieran.sherry@baesystems.com>
Signed-off-by: James Ritchie <james.g.ritchie@baesystems.com>
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Signed-off-by: Ben RIdley <benridley29@gmail.com>
5 years ago
Simon Pasquier
cfc06075d1
Bump github.com/prometheus/common to v0.7.0
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
Simon Pasquier
a99ef58c4b
Fix go.mod and vendor/
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
Paul Gier
cbfb496629
update procfs to v0.0.5
...
- Fixes (#1465 ) failure in netclass collector
- Adds parsing of CPU information
Signed-off-by: Paul Gier <pgier@redhat.com>
5 years ago
Ben Kochie
0e77317955
Update netlink vendoring ( #1471 )
...
* github.com/ema/qdisc
* github.com/mdlayher/genetlink
* github.com/mdlayher/wifi
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Paul Gier
0b7ac85acb
update procfs to v0.0.4 ( #1457 )
...
Signed-off-by: Paul Gier <pgier@redhat.com>
5 years ago
Phil Frost
26d4fbdf07
Fix seconds reported by schedstat ( #1426 )
...
Upstream bugfix: https://github.com/prometheus/procfs/pull/191
Signed-off-by: Phil Frost <phil@postmates.com>
5 years ago
Phil Frost
f693a71c06
Scrape CPU latency stats from /proc/schedstat ( #1389 )
...
These are useful as a direct indication of CPU contention and task
scheduler latency.
Handy references:
- https://github.com/torvalds/linux/blob/master/Documentation/scheduler/sched-stats.txt
- https://doc.opensuse.org/documentation/leap/tuning/html/book.sle.tuning/cha.tuning.taskscheduler.html
procfs is updated to pull in the enabling change:
https://github.com/prometheus/procfs/pull/186
Signed-off-by: Phil Frost <phil@postmates.com>
5 years ago
Benjamin Drung
cdd9a5fdef
Update procfs to v0.0.4-0.20190627154503-39e1aff1547e ( #1409 )
...
procfs v0.0.4-0.20190627154503-39e1aff1547e is a requirement for
https://github.com/prometheus/node_exporter/pull/1357 (because procfs
v0.0.3 contained bug https://github.com/prometheus/procfs/pull/187 )
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
5 years ago
Benjamin Drung
4f074dfbc7
Update procfs to v0.0.3 ( #1395 )
...
procfs v0.0.3 is a requirement for
https://github.com/prometheus/node_exporter/pull/1357
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
5 years ago
Björn Rabenstein
a9231ad6ad
Update prometheus/client_golang to v1.0.0 ( #1382 )
...
Signed-off-by: beorn7 <beorn@grafana.com>
6 years ago
Paul Gier
2bc133cd48
update procfs to v0.0.2 ( #1376 )
...
Signed-off-by: Paul Gier <pgier@redhat.com>
6 years ago
Ben Kochie
0759c0ac01
Bump logrus to fix Solaris build. ( #1373 )
...
Bump to github.com/sirupsen/logrus@v1.4.2.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago
Ben Kochie
8146998945
Fix rollover bug in mountstats collector ( #1364 )
...
* Update procfs vendor to pull in github.com/prometheus/procfs/pull/165
* Update mountstats collector to use new types.
* Rollover counter automatically to avoid float64 accuracy issues.
* Update e2e test.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago
Paul Gier
d0a66c4c40
use sys/unix package instead of syscall ( #1340 )
...
According to the golang docs, the syscall package is deprecated.
https://golang.org/pkg/syscall
This updates collectors to use the x/sys/unix package instead.
Also updates the vendored x/sys/unix module to latest.
Signed-off-by: Paul Gier <pgier@redhat.com>
6 years ago
Ben Kochie
f97f01c46c
Update for 0.18.0 release ( #1337 )
...
* Update CHANGELOG for release.
* Bump VERSION.
* Update vendoring.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago
Daniel Hodges
7882009870
Add perf exporter ( #1274 )
...
Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
6 years ago
Paul Gier
86f9079429
update procfs to latest ( #1335 )
...
Updates for procfs refactoring
Signed-off-by: Paul Gier <pgier@redhat.com>
6 years ago
Ben Kochie
e71e9f5a2f
Update vendoring ( #1304 )
...
Update to current vendoring.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago
Théo Brigitte
4d88761c13
update github.com/godbus/dbus to latest master ( #1305 )
...
* update github.com/godbus/dbus to 271e53dc4968a0f8862f20841cc63bb5f43d6c57
Signed-off-by: Theo Brigitte <theo.brigitte@gmail.com>
6 years ago
Ben Kochie
dc4c58671d
Update vendoring. ( #1257 )
...
* Update vendoring.
Update vendoring to latest upstream.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago
mknapphrt
7fbdd0ae93
Update procfs vendor ( #1248 )
...
Signed-off-by: Mark Knapp <mknapp@hudson-trading.com>
6 years ago
Jon Davies
e766485286
Add kstat-based Solaris metrics ( #1197 )
...
* collector/loadavg_solaris.go: Use libkstat to gather load averages.
* go.mod: Added go-kstat.
* boot_time_solaris.go: Added.
* cpu_solaris.go: Added.
* README.md: Updated entries for Solaris.
* collector/zfs_solaris.go: Added.
* CHANGELOG.md: Added note about kstat-based Solaris metrics.
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
6 years ago
Ben Kochie
becca1275c
Convert to Go modules ( #1178 )
...
* Convert to Go modules
* Update promu config.
* Convert to Go modules.
* Update vendoring.
* Update Makefile.common.
* Update circleci config.
* Use Prometheus release tar for promtool.
* Fixup unpack
* Use temp dir for unpacking tools.
* Use BSD compatible tar command.
* OpenBSD mkdir doesn't support `-v`.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago