Something went wrong. Try again.
My NixOS dotfiles
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ ...}:{ services.prometheus = { exporters.node = { enable = true; port = 3002; enabledCollectors = [ "cpu" "diskstats" "ethtool" "filesystem" "softirqs" "systemd" "tcpstat" ]; extraFlags = [ "--collector.ntp.protocol-version=4" "--no-collector.mdadm" ]; };
enable = true; port = 3001; listenAddress = "0.0.0.0";
scrapeConfigs = [ { job_name = "exporter"; static_configs = [ { targets = [ "127.0.0.1:3002" ]; } ]; } { job_name = "caddy"; static_configs = [ { targets = [ "127.0.0.1:2019" ]; } ]; } ]; };}