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;
|
||||
port = 40000;
|
||||
openFirewall = true;
|
||||
enabledCollectors = [ "systemd" ];
|
||||
extraFlags = [
|
||||
"--collector.ethtool"
|
||||
"--collector.softirqs"
|
||||
"--collector.tcpstat"
|
||||
"--collector.wifi"
|
||||
enabledCollectors = [
|
||||
"systemd"
|
||||
"tcpstat"
|
||||
"ethtool"
|
||||
"softirqs"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue