From 8c40ba6e824c573df73197a274389495ecaf6e60 Mon Sep 17 00:00:00 2001 From: Nick Irvine Date: Thu, 11 Feb 2021 13:25:50 -0500 Subject: [PATCH] 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 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 09d3d2ae..86fabcc1 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ below list all existing collectors and the supported systems. Collectors are enabled by providing a `--collector.` flag. Collectors that are enabled by default can be disabled by providing a `--no-collector.` flag. +To enable only some specific collector(s), use `--collector.disable-defaults --collector. ...`. ### Enabled by default