feat: add prometheus config

This commit is contained in:
Katharina Heidenreich 2026-04-11 13:17:18 +02:00
parent 3f517bbe7f
commit 2ef2e1962b
2 changed files with 36 additions and 0 deletions

View file

@ -11,4 +11,20 @@ rec {
"processes"
];
};
prometheus = {
port = 9090;
scrapeConfigs = {
node = {
static_configs = [
{
targets = [
"localhost:9100"
"pi.home:9100"
];
}
];
};
};
};
}