You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/inputs/node-exporter-metrics.md
+40-24Lines changed: 40 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This plugin is generally supported on Linux-based operating systems, with macOS
15
15
16
16
{% endhint %}
17
17
18
-
## Configuration
18
+
## Configuration parameters
19
19
20
20
`scrape_interval` sets the default for all scrapes. To set granular scrape intervals, set the specific interval. For example, `collector.cpu.scrape_interval`. When using a granular scrape interval, if a value greater than `0` is used, it overrides the global default. Otherwise, the global default is used.
21
21
@@ -30,33 +30,45 @@ For example, if the global interval is set to `5` and an override interval of `6
30
30
This helps with down-sampling when collecting metrics.
31
31
32
32
| Key | Description | Default |
33
-
|---|---|---|
34
-
|`scrape_interval`| The rate in seconds at which metrics are collected from the host operating system. |`5`|
35
-
|`path.procfs`| The mount point used to collect process information and metrics. |`/proc/`|
36
-
|`path.sysfs`| The path in the filesystem used to collect system metrics. |`/sys/`|
33
+
| --- | --- | --- |
37
34
|`collector.cpu.scrape_interval`| The rate in seconds at which `cpu` metrics are collected from the host operating system. |`0`|
38
35
|`collector.cpufreq.scrape_interval`| The rate in seconds at which `cpufreq` metrics are collected from the host operating system. |`0`|
39
-
|`collector.meminfo.scrape_interval`| The rate in seconds at which `meminfo` metrics are collected from the host operating system. |`0`|
40
36
|`collector.diskstats.scrape_interval`| The rate in seconds at which `diskstats` metrics are collected from the host operating system. |`0`|
37
+
|`collector.filefd.scrape_interval`| The rate in seconds at which `filefd` metrics are collected from the host operating system. |`0`|
41
38
|`collector.filesystem.scrape_interval`| The rate in seconds at which `filesystem` metrics are collected from the host operating system. |`0`|
42
-
|`collector.uname.scrape_interval`| The rate in seconds at which `uname` metrics are collected from the host operating system. |`0`|
43
-
|`collector.stat.scrape_interval`| The rate in seconds at which `stat` metrics are collected from the host operating system. |`0`|
44
-
|`collector.time.scrape_interval`| The rate in seconds at which `time` metrics are collected from the host operating system. |`0`|
39
+
|`collector.hwmon.chip-exclude`| Regex of chips to exclude for the `hwmon` collector. | Not set by default. |
40
+
|`collector.hwmon.chip-include`| Regex of chips to include for the `hwmon` collector. | Not set by default. |
41
+
|`collector.hwmon.scrape_interval`| The rate in seconds at which `hwmon` metrics are collected from the host operating system. |`0`|
42
+
|`collector.hwmon.sensor-exclude`| Regex of sensors to exclude for the `hwmon` collector. | Not set by default. |
43
+
|`collector.hwmon.sensor-include`| Regex of sensors to include for the `hwmon` collector. | Not set by default. |
45
44
|`collector.loadavg.scrape_interval`| The rate in seconds at which `loadavg` metrics are collected from the host operating system. |`0`|
46
-
|`collector.vmstat.scrape_interval`| The rate in seconds at which `vmstat` metrics are collected from the host operating system. |`0`|
47
-
|`collector.thermal_zone.scrape_interval`| The rate in seconds at which `thermal_zone` metrics are collected from the host operating system. |`0`|
48
-
|`collector.filefd.scrape_interval`| The rate in seconds at which `filefd` metrics are collected from the host operating system. |`0`|
45
+
|`collector.meminfo.scrape_interval`| The rate in seconds at which `meminfo` metrics are collected from the host operating system. |`0`|
46
+
|`collector.netdev.scrape_interval`| The rate in seconds at which `netdev` metrics are collected from the host operating system. |`0`|
47
+
|`collector.netstat.scrape_interval`| The rate in seconds at which `netstat` metrics are collected from the host operating system. |`0`|
49
48
|`collector.nvme.scrape_interval`| The rate in seconds at which `nvme` metrics are collected from the host operating system. |`0`|
50
49
|`collector.processes.scrape_interval`| The rate in seconds at which system level `process` metrics are collected from the host operating system. |`0`|
51
-
|`metrics`| Specify which metrics are collected from the host operating system. These metrics depend on `/procfs` or `/sysfs`. The actual values of metrics will be read from `/proc` or `/sys` when needed. `cpu`, `cpufreq`, `meminfo`, `diskstats`, `filesystem`, `stat`, `loadavg`, `vmstat`, `netdev`, and `filefd` depend on `procfs`. `cpufreq` metrics depend on `sysfs`. |`"cpu,cpufreq,meminfo,diskstats,filesystem,uname,stat,time,loadavg,vmstat,netdev,filefd"`|
52
-
|`filesystem.ignore_mount_point_regex`| Specify the regular expression for the `mount` points to prevent collection of/ignore. |`^/(dev\|proc\|run/credentials/.+\|sys\|var/lib/docker/.+\|var/lib/containers/storage/.+)($\|/)`|
53
-
|`filesystem.ignore_filesystem_type_regex`| Specify the regular expression for the `filesystem` types to prevent collection of or ignore. |`^(autofs\|binfmt_misc\|bpf\|cgroup2?\|configfs\|debugfs\|devpts\|devtmpfs\|fusectl\|hugetlbfs\|iso9660\|mqueue\|nsfs\|overlay\|proc\|procfs\|pstore\|rpc_pipefs\|securityfs\|selinuxfs\|squashfs\|sysfs\|tracefs)$`|
50
+
|`collector.sockstat.scrape_interval`| The rate in seconds at which `sockstat` metrics are collected from the host operating system. |`0`|
51
+
|`collector.stat.scrape_interval`| The rate in seconds at which `stat` metrics are collected from the host operating system. |`0`|
52
+
|`collector.systemd.scrape_interval`| The rate in seconds at which `systemd` metrics are collected from the host operating system. |`0`|
53
+
|`collector.textfile.path`| Specify path or directory to collect textfile metrics from the host operating system. | Not set by default. |
54
+
|`collector.textfile.scrape_interval`| The rate in seconds at which `textfile` metrics are collected from the host operating system. |`0`|
55
+
|`collector.thermalzone.scrape_interval`| The rate in seconds at which `thermal_zone` metrics are collected from the host operating system. |`0`|
56
+
|`collector.time.scrape_interval`| The rate in seconds at which `time` metrics are collected from the host operating system. |`0`|
57
+
|`collector.uname.scrape_interval`| The rate in seconds at which `uname` metrics are collected from the host operating system. |`0`|
58
+
|`collector.vmstat.scrape_interval`| The rate in seconds at which `vmstat` metrics are collected from the host operating system. |`0`|
54
59
|`diskstats.ignore_device_regex`| Specify the regular expression for the` diskstats` to prevent collection of/ignore. |`^(ram\|loop\|fd\|(h\|s\|v\|xv)d[a-z]\|nvme\\d+n\\d+p)\\d+$`|
60
+
|`filesystem.ignore_filesystem_type_regex`| Specify the regular expression for the `filesystem` types to prevent collection of or ignore. |`^(autofs\|binfmt_misc\|bpf\|cgroup2?\|configfs\|debugfs\|devpts\|devtmpfs\|fusectl\|hugetlbfs\|iso9660\|mqueue\|nsfs\|overlay\|proc\|procfs\|pstore\|rpc_pipefs\|securityfs\|selinuxfs\|squashfs\|sysfs\|tracefs)$`|
61
+
|`filesystem.ignore_mount_point_regex`| Specify the regular expression for the `mount` points to prevent collection of/ignore. |`^/(dev\|proc\|run/credentials/.+\|sys\|var/lib/docker/.+\|var/lib/containers/storage/.+)($\|/)`|
62
+
|`metrics`| Specify which metrics are collected from the host operating system. These metrics depend on `/procfs` or `/sysfs`. The actual values of metrics will be read from `/proc` or `/sys` when needed. `cpu`, `cpufreq`, `meminfo`, `diskstats`, `filesystem`, `stat`, `loadavg`, `vmstat`, `netdev`, `netstat`, `sockstat`, and `filefd` depend on `procfs`. `cpufreq` and `hwmon` metrics depend on `sysfs`. |`"cpu,cpufreq,meminfo,diskstats,filesystem,uname,stat,time,loadavg,vmstat,netdev,netstat,sockstat,filefd,systemd,nvme,thermal_zone,hwmon"`|
63
+
|`path.procfs`| The mount point used to collect process information and metrics. |`/proc`|
64
+
|`path.rootfs`| The root filesystem mount point. |`/`|
65
+
|`path.sysfs`| The path in the filesystem used to collect system metrics. |`/sys`|
66
+
|`scrape_interval`| The rate in seconds at which metrics are collected from the host operating system. |`5`|
67
+
|`systemd_exclude_pattern`| Regular expression to determine which units are excluded in the metrics produced by the `systemd` collector. |`.+\\.(automount\|device\|mount\|scope\|slice)"`|
68
+
|`systemd_include_pattern`| Regular expression to determine which units are included in the metrics produced by the `systemd` collector. | Not applied unless explicitly set. |
69
+
|`systemd_include_service_task_metrics`| Determines if the collector will include service task metrics. |`false`|
55
70
|`systemd_service_restart_metrics`| Determines if the collector will include service restart metrics. |`false`|
56
71
|`systemd_unit_start_time_metrics`| Determines if the collector will include unit start time metrics. |`false`|
57
-
|`systemd_include_service_task_metrics`| Determines if the collector will include service task metrics. |`false`|
58
-
|`systemd_include_pattern`| Regular expression to determine which units are included in the metrics produced by the `systemd` collector. | Not applied unless explicitly set. |
59
-
|`systemd_exclude_pattern`| Regular expression to determine which units are excluded in the metrics produced by the `systemd` collector. |`.+\\.(automount\|device\|mount\|scope\|slice)"`|
60
72
61
73
## Collectors available
62
74
@@ -71,17 +83,21 @@ The Version column specifies the Fluent Bit version where the collector is avail
0 commit comments