Disable systemd metrics to see if it helps alloy not fail
This commit is contained in:
parent
8fb47705f4
commit
24c28283d4
1 changed files with 1 additions and 8 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","systemd"]
|
enable_collectors = ["meminfo"]
|
||||||
|
|
||||||
filesystem {
|
filesystem {
|
||||||
// Exclude filesystem types that aren't relevant for monitoring
|
// Exclude filesystem types that aren't relevant for monitoring
|
||||||
|
@ -39,13 +39,6 @@ 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