This commit is contained in:
death916 2026-01-18 05:44:34 -08:00
parent a79be91c41
commit 75a3be2752
2 changed files with 12 additions and 1 deletions

View file

@ -16,4 +16,15 @@
];
openFirewall = true;
};
services.prometheus.exporters.process = {
enable = true;
port = 9256;
openFirewall = true;
settings.process_names = [
{
name = "{{.Comm}}";
cmdline = [ ".+" ];
}
];
};
}

View file

@ -29,7 +29,7 @@
job_name = "homelab";
static_configs = [
{
targets = [ "100.65.36.116:9002" ];
targets = [ "100.65.36.116:9002" "100.65.36.116:9256" ];
}
];
}