1prometheus-node-exporter(1) 1.3.1 prometheus-node-exporter(1)
2
3
4
6 prometheus-node-exporter - The Prometheus Node-Exporter
7
9 prometheus-node-exporter [<flags>]
10
11
14 -h, --help
15 Show context-sensitive help (also try --help-long and --help-
16 man).
17
18 --collector.bcache.priorityStats
19 Expose expensive priority stats.
20
21 --collector.cpu.guest
22 Enables metric node_cpu_guest_seconds_total
23
24 --collector.cpu.info
25 Enables metric cpu_info
26
27 --collector.cpu.info.flags-include=COLLECTOR.CPU.INFO.FLAGS-INCLUDE
28 Filter the `flags` field in cpuInfo with a value that must be a
29 regular expression
30
31 --collector.cpu.info.bugs-include=COLLECTOR.CPU.INFO.BUGS-INCLUDE
32 Filter the `bugs` field in cpuInfo with a value that must be a
33 regular expression
34
35 --collector.diskstats.ignored-devices="^(ram|loop|fd|(h|s|v|xv)d[a-
36 z]|nvme\d+n\d+p)\d+$"
37 Regexp of devices to ignore for diskstats.
38
39 --collector.ethtool.device-include=COLLECTOR.ETHTOOL.DEVICE-INCLUDE
40 Regexp of ethtool devices to include (mutually exclusive to de‐
41 vice-exclude).
42
43 --collector.ethtool.device-exclude=COLLECTOR.ETHTOOL.DEVICE-EXCLUDE
44 Regexp of ethtool devices to exclude (mutually exclusive to de‐
45 vice-include).
46
47 --collector.ethtool.metrics-include=".*"
48 Regexp of ethtool stats to include.
49
50 --collector.filesystem.mount-points-exclude="^/(dev|proc|run/creden‐
51 tials/.+|sys|var/lib/docker/.+)($|/)"
52 Regexp of mount points to exclude for filesystem collector.
53
54 --collector.filesystem.fs-types-exclude="^(aut‐
55 ofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fu‐
56 sectl|hugetlbfs|iso9660|mqueue|nsfs|over‐
57 lay|proc|procfs|pstore|rpc_pipefs|securityfs|selin‐
58 uxfs|squashfs|sysfs|tracefs)$"
59 Regexp of filesystem types to exclude for filesystem collector.
60
61 --collector.ipvs.backend-labels="local_address,local_port,remote_ad‐
62 dress,remote_port,proto,local_mark"
63 Comma separated list for IPVS backend stats labels.
64
65 --collector.netclass.ignored-devices="^$"
66 Regexp of net devices to ignore for netclass collector.
67
68 --collector.netclass.ignore-invalid-speed
69 Ignore devices where the speed is invalid. This will be the de‐
70 fault behavior in 2.x.
71
72 --collector.netdev.device-include=COLLECTOR.NETDEV.DEVICE-INCLUDE
73 Regexp of net devices to include (mutually exclusive to device-
74 exclude).
75
76 --collector.netdev.device-exclude=COLLECTOR.NETDEV.DEVICE-EXCLUDE
77 Regexp of net devices to exclude (mutually exclusive to device-
78 include).
79
80 --collector.netdev.address-info
81 Collect address-info for every device
82
83 --collector.netstat.fields="^(.*_(InErrors|InErrs)|Ip_Forward‐
84 ing|Ip(6|Ext)_(InOctets|OutOctets)|Icmp6?_(InMsgs|OutMsgs)|TcpExt_(Lis‐
85 ten.*|Syncookies.*|TCPSynRetrans|TCPTimeouts)|Tcp_(ActiveOpens|In‐
86 Segs|OutSegs|OutRsts|PassiveOpens|RetransSegs|CurrEstab)|Udp6?_(InData‐
87 grams|OutDatagrams|NoPorts|RcvbufErrors|SndbufErrors))$"
88 Regexp of fields to return for netstat collector.
89
90 --collector.ntp.server="127.0.0.1"
91 NTP server to use for ntp collector
92
93 --collector.ntp.protocol-version=4
94 NTP protocol version
95
96 --collector.ntp.server-is-local
97 Certify that collector.ntp.server address is not a public ntp
98 server
99
100 --collector.ntp.ip-ttl=1
101 IP TTL to use while sending NTP query
102
103 --collector.ntp.max-distance=3.46608s
104 Max accumulated distance to the root
105
106 --collector.ntp.local-offset-tolerance=1ms
107 Offset between local clock and local ntpd time to tolerate
108
109 --path.procfs="/proc"
110 procfs mountpoint.
111
112 --path.sysfs="/sys"
113 sysfs mountpoint.
114
115 --path.rootfs="/"
116 rootfs mountpoint.
117
118 --collector.perf.cpus=""
119 List of CPUs from which perf metrics should be collected
120
121 --collector.perf.tracepoint=COLLECTOR.PERF.TRACEPOINT
122 perf tracepoint that should be collected
123
124 --collector.powersupply.ignored-supplies="^$"
125 Regexp of power supplies to ignore for powersupplyclass collec‐
126 tor.
127
128 --collector.qdisc.fixtures=""
129 test fixtures to use for qdisc collector end-to-end testing
130
131 --collector.runit.servicedir="/etc/service"
132 Path to runit service directory.
133
134 --collector.supervisord.url="http://localhost:9001/RPC2"
135 XML RPC endpoint.
136
137 --collector.systemd.unit-include=".+"
138 Regexp of systemd units to include. Units must both match in‐
139 clude and not match exclude to be included.
140
141 --collector.systemd.unit-exclude=".+\.(automount|de‐
142 vice|mount|scope|slice)"
143 Regexp of systemd units to exclude. Units must both match in‐
144 clude and not match exclude to be included.
145
146 --collector.systemd.enable-task-metrics
147 Enables service unit tasks metrics unit_tasks_current and
148 unit_tasks_max
149
150 --collector.systemd.enable-restarts-metrics
151 Enables service unit metric service_restart_total
152
153 --collector.systemd.enable-start-time-metrics
154 Enables service unit metric unit_start_time_seconds
155
156 --collector.tapestats.ignored-devices="^$"
157 Regexp of devices to ignore for tapestats.
158
159 --collector.textfile.directory="/var/lib/prometheus/node-exporter"
160 Directory to read text files with metrics from.
161
162 --collector.vmstat.fields="^(oom_kill|pgpg|pswp|pg.*fault).*"
163 Regexp of fields to return for vmstat collector.
164
165 --collector.wifi.fixtures=""
166 test fixtures to use for wifi collector metrics
167
168 --collector.arp
169 Enable the arp collector (default: enabled).
170
171 --collector.bcache
172 Enable the bcache collector (default: enabled).
173
174 --collector.bonding
175 Enable the bonding collector (default: enabled).
176
177 --collector.btrfs
178 Enable the btrfs collector (default: enabled).
179
180 --collector.buddyinfo
181 Enable the buddyinfo collector (default: disabled).
182
183 --collector.conntrack
184 Enable the conntrack collector (default: enabled).
185
186 --collector.cpu
187 Enable the cpu collector (default: enabled).
188
189 --collector.cpufreq
190 Enable the cpufreq collector (default: enabled).
191
192 --collector.diskstats
193 Enable the diskstats collector (default: enabled).
194
195 --collector.dmi
196 Enable the dmi collector (default: enabled).
197
198 --collector.drbd
199 Enable the drbd collector (default: disabled).
200
201 --collector.drm
202 Enable the drm collector (default: disabled).
203
204 --collector.edac
205 Enable the edac collector (default: enabled).
206
207 --collector.entropy
208 Enable the entropy collector (default: enabled).
209
210 --collector.ethtool
211 Enable the ethtool collector (default: disabled).
212
213 --collector.fibrechannel
214 Enable the fibrechannel collector (default: enabled).
215
216 --collector.filefd
217 Enable the filefd collector (default: enabled).
218
219 --collector.filesystem
220 Enable the filesystem collector (default: enabled).
221
222 --collector.hwmon
223 Enable the hwmon collector (default: enabled).
224
225 --collector.infiniband
226 Enable the infiniband collector (default: enabled).
227
228 --collector.interrupts
229 Enable the interrupts collector (default: disabled).
230
231 --collector.ipvs
232 Enable the ipvs collector (default: enabled).
233
234 --collector.ksmd
235 Enable the ksmd collector (default: disabled).
236
237 --collector.lnstat
238 Enable the lnstat collector (default: disabled).
239
240 --collector.loadavg
241 Enable the loadavg collector (default: enabled).
242
243 --collector.logind
244 Enable the logind collector (default: disabled).
245
246 --collector.mdadm
247 Enable the mdadm collector (default: enabled).
248
249 --collector.meminfo
250 Enable the meminfo collector (default: enabled).
251
252 --collector.meminfo_numa
253 Enable the meminfo_numa collector (default: disabled).
254
255 --collector.mountstats
256 Enable the mountstats collector (default: disabled).
257
258 --collector.netclass
259 Enable the netclass collector (default: enabled).
260
261 --collector.netdev
262 Enable the netdev collector (default: enabled).
263
264 --collector.netstat
265 Enable the netstat collector (default: enabled).
266
267 --collector.network_route
268 Enable the network_route collector (default: disabled).
269
270 --collector.nfs
271 Enable the nfs collector (default: enabled).
272
273 --collector.nfsd
274 Enable the nfsd collector (default: enabled).
275
276 --collector.ntp
277 Enable the ntp collector (default: disabled).
278
279 --collector.nvme
280 Enable the nvme collector (default: enabled).
281
282 --collector.os
283 Enable the os collector (default: enabled).
284
285 --collector.perf
286 Enable the perf collector (default: disabled).
287
288 --collector.powersupplyclass
289 Enable the powersupplyclass collector (default: enabled).
290
291 --collector.pressure
292 Enable the pressure collector (default: enabled).
293
294 --collector.processes
295 Enable the processes collector (default: disabled).
296
297 --collector.qdisc
298 Enable the qdisc collector (default: disabled).
299
300 --collector.rapl
301 Enable the rapl collector (default: enabled).
302
303 --collector.runit
304 Enable the runit collector (default: disabled).
305
306 --collector.schedstat
307 Enable the schedstat collector (default: enabled).
308
309 --collector.sockstat
310 Enable the sockstat collector (default: enabled).
311
312 --collector.softnet
313 Enable the softnet collector (default: enabled).
314
315 --collector.stat
316 Enable the stat collector (default: enabled).
317
318 --collector.supervisord
319 Enable the supervisord collector (default: disabled).
320
321 --collector.systemd
322 Enable the systemd collector (default: disabled).
323
324 --collector.tapestats
325 Enable the tapestats collector (default: enabled).
326
327 --collector.tcpstat
328 Enable the tcpstat collector (default: disabled).
329
330 --collector.textfile
331 Enable the textfile collector (default: enabled).
332
333 --collector.thermal_zone
334 Enable the thermal_zone collector (default: enabled).
335
336 --collector.time
337 Enable the time collector (default: enabled).
338
339 --collector.timex
340 Enable the timex collector (default: enabled).
341
342 --collector.udp_queues
343 Enable the udp_queues collector (default: enabled).
344
345 --collector.uname
346 Enable the uname collector (default: enabled).
347
348 --collector.vmstat
349 Enable the vmstat collector (default: enabled).
350
351 --collector.wifi
352 Enable the wifi collector (default: disabled).
353
354 --collector.xfs
355 Enable the xfs collector (default: enabled).
356
357 --collector.zfs
358 Enable the zfs collector (default: enabled).
359
360 --collector.zoneinfo
361 Enable the zoneinfo collector (default: disabled).
362
363 --web.listen-address=":9100"
364 Address on which to expose metrics and web interface.
365
366 --web.telemetry-path="/metrics"
367 Path under which to expose metrics.
368
369 --web.disable-exporter-metrics
370 Exclude metrics about the exporter itself (promhttp_*,
371 process_*, go_*).
372
373 --web.max-requests=40
374 Maximum number of parallel scrape requests. Use 0 to disable.
375
376 --collector.disable-defaults
377 Set all collectors to disabled by default.
378
379 --web.config=""
380 [EXPERIMENTAL] Path to config yaml file that can enable TLS or
381 authentication.
382
383 --log.level=info
384 Only log messages with the given severity or above. One of: [de‐
385 bug, info, warn, error]
386
387 --log.format=logfmt
388 Output format of log messages. One of: [logfmt, json]
389
390 --version
391 Show application version.
392
393
394
395version node_exporter, prometheus-node-exporter(1)