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