mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -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 = [ ".+" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue