mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
prometh exporters-proc
This commit is contained in:
parent
e5752beffe
commit
ac0352eda7
1 changed files with 18 additions and 0 deletions
|
|
@ -49,8 +49,26 @@
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "process";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [ "127.0.0.1:9256" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
exporters = {
|
||||
process = {
|
||||
enable = true;
|
||||
port = 9256;
|
||||
settings.process_names = [
|
||||
{
|
||||
name = "{{.Comm}}";
|
||||
cmdline = [ ".+" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
smartctl = {
|
||||
enable = true;
|
||||
port = 9633;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue