diff options
author | Heikki Kallasjoki <fis@zem.fi> | 2018-12-15 01:13:46 +0000 |
---|---|---|
committer | Heikki Kallasjoki <fis+github@zem.fi> | 2018-12-15 01:19:43 +0000 |
commit | 66fa2c3797bae4ef0c2a2165c34020d1fe7ea6ed (patch) | |
tree | 2d1044c429359d01a6d03e9e5408b3303674a1a6 /README.md | |
parent | a940aeb47cf9f3c83f4e3e94d2b38f0dba9e19a0 (diff) | |
download | nano-exporter-66fa2c3797bae4ef0c2a2165c34020d1fe7ea6ed.tar.gz nano-exporter-66fa2c3797bae4ef0c2a2165c34020d1fe7ea6ed.tar.xz nano-exporter-66fa2c3797bae4ef0c2a2165c34020d1fe7ea6ed.zip |
Rename the network collector to netdev.
Resolves #14. For consistency with node_exporter, and with other network-related collectors.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md index 801fcef..297972c 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ including generated metrics, labels and configuration options. | [`filesystem`](#filesystem) | Statistics of mounted filesystems from `statvfs(2)`. | | [`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`. | +| [`netdev`](#netdev) | 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. | @@ -256,7 +256,7 @@ If the line in `/proc/meminfo` has a `kB` suffix, the suffix `_bytes` is also appended to the metric name, and the value multiplied by 1024 to convert it to bytes. -### `network` +### `netdev` Metrics and labels: @@ -282,8 +282,8 @@ included in your `/proc/net/dev` file. A normal set is: | | X | `carrier` | ? | By default, statistics are reported for all network interfaces except -the loopback interface (`lo`). The `--network-include=` and -`--network-exclude=` options can be used to define a comma-separated +the loopback interface (`lo`). The `--netdev-include=` and +`--netdev-exclude=` options can be used to define a comma-separated list of interface names to explicitly include and exclude, respectively. If an include list is set, only those interfaces are included. Otherwise, all interfaces *not* mentioned in the exclude |