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 /end-to-end-test.sh | |
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 'end-to-end-test.sh')
-rwxr-xr-x | end-to-end-test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/end-to-end-test.sh b/end-to-end-test.sh index 6d3c9f4..56ed04c 100755 --- a/end-to-end-test.sh +++ b/end-to-end-test.sh | |||
@@ -30,6 +30,7 @@ enabled_collectors=$(cat << COLLECTORS | |||
30 | nfsd | 30 | nfsd |
31 | pressure | 31 | pressure |
32 | qdisc | 32 | qdisc |
33 | schedstat | ||
33 | sockstat | 34 | sockstat |
34 | stat | 35 | stat |
35 | textfile | 36 | textfile |