Reenable systemd collectors
This commit is contained in:
parent
005ac30c21
commit
81551dd791
1 changed files with 8 additions and 1 deletions
|
@ -19,7 +19,7 @@ discovery.relabel "integrations_node_exporter" {
|
||||||
prometheus.exporter.unix "integrations_node_exporter" {
|
prometheus.exporter.unix "integrations_node_exporter" {
|
||||||
// Disable unnecessary collectors to reduce overhead
|
// Disable unnecessary collectors to reduce overhead
|
||||||
disable_collectors = ["ipvs", "btrfs", "infiniband", "xfs", "zfs"]
|
disable_collectors = ["ipvs", "btrfs", "infiniband", "xfs", "zfs"]
|
||||||
enable_collectors = ["meminfo"]
|
enable_collectors = ["meminfo","systemd"]
|
||||||
|
|
||||||
filesystem {
|
filesystem {
|
||||||
// Exclude filesystem types that aren't relevant for monitoring
|
// 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
|
// Exclude virtual and container network interfaces from device metrics
|
||||||
device_exclude = "^(veth.*|cali.*|[a-f0-9]{15})$"
|
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
|
// Define how to scrape metrics from the node_exporter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue