aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vorburger ⛑️ <mike@vorburger.ch>2020-03-27 20:59:47 +0100
committerJohannes 'fish' Ziemke <github@freigeist.org>2020-04-17 11:02:26 +0200
commit4135c00d33c9788df8c451bf99af37b218fae1e6 (patch)
tree9b309637b6d92bdce66cdf541dd29ca013d39a29
parentd4d2e1db98152ab6c94dc9a12a997950e0be2416 (diff)
downloadprometheus_node_collector-4135c00d33c9788df8c451bf99af37b218fae1e6.tar.bz2
prometheus_node_collector-4135c00d33c9788df8c451bf99af37b218fae1e6.tar.xz
prometheus_node_collector-4135c00d33c9788df8c451bf99af37b218fae1e6.zip
minor README doc fix re. collector.perf.cpus
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3a1546e..bed3a90 100644
--- a/README.md
+++ b/README.md
@@ -89,11 +89,11 @@ By default, the perf collector will only collect metrics of the CPUs that
89`node_exporter` is running on (ie 89`node_exporter` is running on (ie
90[`runtime.NumCPU`](https://golang.org/pkg/runtime/#NumCPU). If this is 90[`runtime.NumCPU`](https://golang.org/pkg/runtime/#NumCPU). If this is
91insufficient (e.g. if you run `node_exporter` with its CPU affinity set to 91insufficient (e.g. if you run `node_exporter` with its CPU affinity set to
92specific CPUs) You can specify a list of alternate CPUs by using the 92specific CPUs), you can specify a list of alternate CPUs by using the
93`--collector.perf.cpus` flag. For example, to collect metrics on CPUs 2-6, you 93`--collector.perf.cpus` flag. For example, to collect metrics on CPUs 2-6, you
94would specify: `--collector.perf --collector.perf.cpus=2-6`. The CPU 94would specify: `--collector.perf --collector.perf.cpus=2-6`. The CPU
95configuration is zero indexed and can also take a stride value 95configuration is zero indexed and can also take a stride value; e.g.
96`--collector.perf --collector.perf.cpus=1-10:5`, would collect on CPUs 96`--collector.perf --collector.perf.cpus=1-10:5` would collect on CPUs
971, 5, and 10. 971, 5, and 10.
98 98
99 99