infra/modules/prometheus-exporters/default.nix
2024-05-08 22:57:07 +02:00

13 lines
188 B
Nix

{ config, ... }:
{
services.prometheus = {
exporters = {
node = {
enable = true;
enabledCollectors = [ "systemd" ];
port = 9002;
};
};
};
}