mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 13:50:13 +00:00
working prometheus setup with processes
This commit is contained in:
@ -10,6 +10,12 @@
|
||||
config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
boot.kernelParams = [ "nohibernate" ];
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
services.prometheus.exporters.zfs.enable = true;
|
||||
scrapeTargets = [
|
||||
"127.0.0.1:${
|
||||
builtins.toString config.services.prometheus.exporters.zfs.port
|
||||
}"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user