add victoriametrics

This commit is contained in:
Noah Masur
2023-07-16 13:50:58 +00:00
parent edb4ec77ca
commit 0f0a64b5c4
8 changed files with 164 additions and 36 deletions

View File

@ -10,8 +10,9 @@
config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.kernelParams = [ "nohibernate" ];
boot.supportedFilesystems = [ "zfs" ];
services.prometheus.exporters.zfs.enable = true;
scrapeTargets = [
services.prometheus.exporters.zfs.enable =
config.prometheus.exporters.enable;
prometheus.scrapeTargets = [
"127.0.0.1:${
builtins.toString config.services.prometheus.exporters.zfs.port
}"