diff options
author | Heikki Kallasjoki <fis@zem.fi> | 2018-12-04 13:12:04 +0000 |
---|---|---|
committer | Heikki Kallasjoki <fis@zem.fi> | 2018-12-04 13:12:04 +0000 |
commit | 0e9219a221201949cd0df937bea07355b6d4240b (patch) | |
tree | 4343e4b2c90947c76bac911b657f8bcedc95ddb6 /README.md | |
parent | 11766041777085ef2746aedda66bf9483a7f1892 (diff) | |
download | nano-exporter-0e9219a221201949cd0df937bea07355b6d4240b.tar.gz nano-exporter-0e9219a221201949cd0df937bea07355b6d4240b.tar.xz nano-exporter-0e9219a221201949cd0df937bea07355b6d4240b.zip |
Add the stat collector.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md index abb2cc0..55b66ce 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ including generated metrics, labels and configuration options. | [`hwmon`](#hwmon) | Temperature, fan and voltage sensors from `/sys/class/hwmon`. | | [`meminfo`](#meminfo) | Memory usage statistics from `/proc/meminfo`. | | [`network`](#network) | Network device transmit/receive statistics from `/proc/net/dev`. | +| [`stat`](#stat) | Basic statistics from `/proc/stat`. | | [`textfile`](#textfile) | Custom metrics from `.prom` text files dropped in a directory. | | [`uname`](#uname) | Node information returned by the `uname` system call. | @@ -265,6 +266,17 @@ list are included. If the given value ends in `*`, it matches any string that begins with the part before the `*`; otherwise, the match must be exact. +### `stat` + +This collectors exports the following metrics from `/proc/stat`: + +* `node_boot_time_seconds`: System boot time as a Unix timestamp (seconds since 1970). +* `node_context_switches_total`: Total number of context switches done by the system. +* `node_forks_total`: Total number of forks since boot. +* `node_intr_total`: Total number of interrupts serviced. +* `node_procs_blocked`: Number of processes currently blocked for I/O. +* `node_procs_running`: Number of processes currently in runnable state. + ### `textfile` The `textfile` collector can be used to conveniently export custom |