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 /README.md | |
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 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ netstat | Exposes network statistics from `/proc/net/netstat`. This is the same | |||
51 | nfs | Exposes NFS client statistics from `/proc/net/rpc/nfs`. This is the same information as `nfsstat -c`. | Linux | 51 | nfs | Exposes NFS client statistics from `/proc/net/rpc/nfs`. This is the same information as `nfsstat -c`. | Linux |
52 | nfsd | Exposes NFS kernel server statistics from `/proc/net/rpc/nfsd`. This is the same information as `nfsstat -s`. | Linux | 52 | nfsd | Exposes NFS kernel server statistics from `/proc/net/rpc/nfsd`. This is the same information as `nfsstat -s`. | Linux |
53 | pressure | Exposes pressure stall statistics from `/proc/pressure/`. | Linux (kernel 4.20+ and/or [CONFIG\_PSI](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/accounting/psi.txt)) | 53 | pressure | Exposes pressure stall statistics from `/proc/pressure/`. | Linux (kernel 4.20+ and/or [CONFIG\_PSI](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/accounting/psi.txt)) |
54 | schedstat | Exposes task scheduler statistics from `/proc/schedstat`. | Linux | ||
54 | sockstat | Exposes various statistics from `/proc/net/sockstat`. | Linux | 55 | sockstat | Exposes various statistics from `/proc/net/sockstat`. | Linux |
55 | stat | Exposes various statistics from `/proc/stat`. This includes boot time, forks and interrupts. | Linux | 56 | stat | Exposes various statistics from `/proc/stat`. This includes boot time, forks and interrupts. | Linux |
56 | textfile | Exposes statistics read from local disk. The `--collector.textfile.directory` flag must be set. | _any_ | 57 | textfile | Exposes statistics read from local disk. The `--collector.textfile.directory` flag must be set. | _any_ |