20 lines
347 B
Nix
20 lines
347 B
Nix
{
|
|
services.prometheus.exporters = {
|
|
node = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
port = 9190;
|
|
enabledCollectors = [
|
|
# keep-sorted start
|
|
"cgroups"
|
|
"interrupts"
|
|
"softirqs"
|
|
"swap"
|
|
"systemd"
|
|
"tcpstat"
|
|
"wifi"
|
|
# keep-sorted end
|
|
];
|
|
};
|
|
};
|
|
}
|