Skip to content

Commit df72ba1

Browse files
ehienabsPat
andauthored
added systemd collector config (#1120)
* added systemd collector config Signed-off-by: Ehi Enabulele <[email protected]> * Update pipeline/inputs/node-exporter-metrics.md Co-authored-by: Pat <[email protected]> Signed-off-by: Ehi Enabs <[email protected]> * Update pipeline/inputs/node-exporter-metrics.md Co-authored-by: Pat <[email protected]> Signed-off-by: Ehi Enabs <[email protected]> * edited systemd version Signed-off-by: Ehi Enabulele <[email protected]> * Update pipeline/inputs/node-exporter-metrics.md Signed-off-by: Pat <[email protected]> --------- Signed-off-by: Ehi Enabulele <[email protected]> Signed-off-by: Ehi Enabs <[email protected]> Signed-off-by: Pat <[email protected]> Co-authored-by: Pat <[email protected]>
1 parent a7d971c commit df72ba1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pipeline/inputs/node-exporter-metrics.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ This plugin is currently only supported on Linux based operating systems\
3737
| filesystem.ignore\_mount\_point\_regex | Specify the regex for the mount points to prevent collection of/ignore. | `^/(dev|proc|run/credentials/.+|sys|var/lib/docker/.+|var/lib/containers/storage/.+)($|/)` |
3838
| filesystem.ignore\_filesystem\_type\_regex | Specify the regex for the filesystem types to prevent collection of/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)$` |
3939
| diskstats.ignore\_device\_regex | Specify the regex for the diskstats to prevent collection of/ignore. | `^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d+n\\d+p)\\d+$` |
40+
| systemd_service_restart_metrics | Determines if the collector will include service restart metrics | false |
41+
| systemd_unit_start_time_metrics | Determines if the collector will include unit start time metrics | false |
42+
| systemd_include_service_task_metrics | Determines if the collector will include service task metrics | false |
43+
| systemd_include_pattern | regex to determine which units are included in the metrics produced by the systemd collector | It is not applied unless explicitly set |
44+
| systemd_exclude_pattern | regex to determine which units are excluded in the metrics produced by the systemd collector | `.+\\.(automount|device|mount|scope|slice)"` |
4045

4146

4247
**Note:** The plugin top-level `scrape_interval` setting is the global default with any custom settings for individual `scrape_intervals` then overriding just that specific metric scraping interval.
@@ -46,6 +51,7 @@ The overridden intervals only change the collection interval, not the interval f
4651
For example, if the global interval is set to 5s and an override interval of 60s is used then the published metrics will be reported every 5s but for the specific collector they will stay the same for 60s until it is collected again.
4752
This feature aims to help with down-sampling when collecting metrics.
4853

54+
4955
## Collectors available
5056

5157
The following table describes the available collectors as part of this plugin. All of them are enabled by default and respects the original metrics name, descriptions, and types from Prometheus Exporter, so you can use your current dashboards without any compatibility problem.
@@ -65,6 +71,7 @@ The following table describes the available collectors as part of this plugin. A
6571
| time | Exposes the current system time. | Linux | v1.8 |
6672
| uname | Exposes system information as provided by the uname system call. | Linux | v1.8 |
6773
| vmstat | Exposes statistics from `/proc/vmstat`. | Linux | v1.8.2 |
74+
| systemd collector | Exposes statistics from systemd. | Linux | v2.1.3 |
6875

6976
## Getting Started
7077

0 commit comments

Comments
 (0)