diff options
author | Phil Frost <indigo@bitglue.com> | 2019-07-10 03:16:24 -0400 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2019-07-10 09:16:24 +0200 |
commit | f693a71c0648ae9dd28f7991ca845afe12539a37 (patch) | |
tree | b925500e78b544632b7085acc23560ded2d49872 /go.mod | |
parent | 777b751f9038547ee2367bf145603a8f44967145 (diff) | |
download | prometheus_node_collector-f693a71c0648ae9dd28f7991ca845afe12539a37.tar.bz2 prometheus_node_collector-f693a71c0648ae9dd28f7991ca845afe12539a37.tar.xz prometheus_node_collector-f693a71c0648ae9dd28f7991ca845afe12539a37.zip |
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>
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ require ( | |||
15 | github.com/prometheus/client_golang v1.0.0 | 15 | github.com/prometheus/client_golang v1.0.0 |
16 | github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 | 16 | github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 |
17 | github.com/prometheus/common v0.4.1 | 17 | github.com/prometheus/common v0.4.1 |
18 | github.com/prometheus/procfs v0.0.4-0.20190627154503-39e1aff1547e | 18 | github.com/prometheus/procfs v0.0.4-0.20190702183519-8f55e607908e |
19 | github.com/siebenmann/go-kstat v0.0.0-20160321171754-d34789b79745 | 19 | github.com/siebenmann/go-kstat v0.0.0-20160321171754-d34789b79745 |
20 | github.com/sirupsen/logrus v1.4.2 // indirect | 20 | github.com/sirupsen/logrus v1.4.2 // indirect |
21 | github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a | 21 | github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a |