nixos-servers/system/monitoring/metrics.nix

13 lines
182 B
Nix
Raw Normal View History

2024-06-03 01:44:34 +00:00
{ pkgs, ... }:
{
2024-12-01 19:51:14 +00:00
services.prometheus.exporters.node = {
2024-06-03 01:44:34 +00:00
enable = true;
2024-12-01 19:51:14 +00:00
enabledCollectors = [
"systemd"
"logind"
2024-12-05 17:35:06 +00:00
"cgroups"
"processes"
2024-12-01 19:51:14 +00:00
];
2024-06-03 01:44:34 +00:00
};
}