Mention --collector.disable-defaults in the README

Took me ages to find this thing since there's literally nearly 100 other options that look almost the same.

https://github.com/prometheus/node_exporter/pull/1460#issuecomment-761816460 some other person wants this as well. :)
Signed-off-by: Nick Irvine <nick@segment.com>
This commit is contained in:
Nick Irvine 2021-02-11 13:25:50 -05:00
parent a4dfffbd77
commit 8c40ba6e82

View file

@ -81,6 +81,7 @@ below list all existing collectors and the supported systems.
Collectors are enabled by providing a `--collector.<name>` flag.
Collectors that are enabled by default can be disabled by providing a `--no-collector.<name>` flag.
To enable only some specific collector(s), use `--collector.disable-defaults --collector.<name> ...`.
### Enabled by default