shared/prometheus: use enable collectors instead of flags

This commit is contained in:
Dmitriy Pleshevskiy 2025-02-05 16:08:17 +03:00
parent 63ca82b61e
commit 7476ce80be
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -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"
];
};
}