Enable slurm-exporter service

This commit is contained in:
2023-09-21 21:38:34 +02:00
parent 9071a4de8b
commit 5f492ee1d7
2 changed files with 38 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
{ config, lib, ... }:
{
imports = [ ../module/slurm-exporter.nix ];
services.grafana = {
enable = true;
settings = {
@@ -73,6 +75,7 @@
"127.0.0.1:9323"
"127.0.0.1:9252"
"127.0.0.1:${toString config.services.prometheus.exporters.smartctl.port}"
"127.0.0.1:9341" # Slurm exporter
];
}];
}