diff options
author | Michael Vorburger ⛑️ <mike@vorburger.ch> | 2020-03-27 20:59:47 +0100 |
---|---|---|
committer | Johannes 'fish' Ziemke <github@freigeist.org> | 2020-04-17 11:02:26 +0200 |
commit | 4135c00d33c9788df8c451bf99af37b218fae1e6 (patch) | |
tree | 9b309637b6d92bdce66cdf541dd29ca013d39a29 | |
parent | d4d2e1db98152ab6c94dc9a12a997950e0be2416 (diff) | |
download | prometheus_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.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
91 | insufficient (e.g. if you run `node_exporter` with its CPU affinity set to | 91 | insufficient (e.g. if you run `node_exporter` with its CPU affinity set to |
92 | specific CPUs) You can specify a list of alternate CPUs by using the | 92 | specific 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 |
94 | would specify: `--collector.perf --collector.perf.cpus=2-6`. The CPU | 94 | would specify: `--collector.perf --collector.perf.cpus=2-6`. The CPU |
95 | configuration is zero indexed and can also take a stride value | 95 | configuration 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 |
97 | 1, 5, and 10. | 97 | 1, 5, and 10. |
98 | 98 | ||
99 | 99 | ||