feat: add prometheus config
This commit is contained in:
parent
3f517bbe7f
commit
f7a2f970e0
3 changed files with 40 additions and 0 deletions
|
|
@ -11,4 +11,21 @@ rec {
|
|||
"processes"
|
||||
];
|
||||
};
|
||||
|
||||
prometheus = {
|
||||
port = 9090;
|
||||
scrapeConfigs = {
|
||||
node = {
|
||||
scrape_interval = "60s";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"localhost:9100"
|
||||
"pi.home:9100"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue