Reenable systemd collectors
Some checks failed
/ dev-shell (push) Successful in 26s
/ rust-packages (push) Successful in 31s
/ terraform-providers (push) Successful in 27s
/ check (push) Successful in 1m19s
/ systems (push) Failing after 5m0s

This commit is contained in:
Kaare Hoff Skovgaard 2025-07-15 23:02:07 +02:00
parent 005ac30c21
commit 81551dd791
Signed by: khs
GPG key ID: C7D890804F01E9F0

View file

@ -19,7 +19,7 @@ discovery.relabel "integrations_node_exporter" {
prometheus.exporter.unix "integrations_node_exporter" {
// Disable unnecessary collectors to reduce overhead
disable_collectors = ["ipvs", "btrfs", "infiniband", "xfs", "zfs"]
enable_collectors = ["meminfo"]
enable_collectors = ["meminfo","systemd"]
filesystem {
// Exclude filesystem types that aren't relevant for monitoring
@ -39,6 +39,13 @@ prometheus.exporter.unix "integrations_node_exporter" {
// Exclude virtual and container network interfaces from device metrics
device_exclude = "^(veth.*|cali.*|[a-f0-9]{15})$"
}
systemd {
enable_restarts = true
start_time = true
task_metrics = true
unit_include = ".+"
}
}
// Define how to scrape metrics from the node_exporter