shared/prometheus: use enable collectors instead of flags
This commit is contained in:
parent
63ca82b61e
commit
7476ce80be
1 changed files with 5 additions and 6 deletions
|
@ -7,12 +7,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 40000;
|
port = 40000;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
enabledCollectors = [ "systemd" ];
|
enabledCollectors = [
|
||||||
extraFlags = [
|
"systemd"
|
||||||
"--collector.ethtool"
|
"tcpstat"
|
||||||
"--collector.softirqs"
|
"ethtool"
|
||||||
"--collector.tcpstat"
|
"softirqs"
|
||||||
"--collector.wifi"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue