mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-11 04:48:25 -07:00
prometh
This commit is contained in:
parent
a79be91c41
commit
75a3be2752
2 changed files with 12 additions and 1 deletions
|
|
@ -16,4 +16,15 @@
|
|||
];
|
||||
openFirewall = true;
|
||||
};
|
||||
services.prometheus.exporters.process = {
|
||||
enable = true;
|
||||
port = 9256;
|
||||
openFirewall = true;
|
||||
settings.process_names = [
|
||||
{
|
||||
name = "{{.Comm}}";
|
||||
cmdline = [ ".+" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -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" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue