prometheus

This commit is contained in:
TheWanderingCrow 2025-10-05 14:42:23 -04:00
parent 52f15e28b9
commit d60dcc45d6
3 changed files with 18 additions and 4 deletions

View file

@ -1,3 +0,0 @@
{
services.prometheus.enable = true;
}

View file

@ -0,0 +1,18 @@
{
services.prometheus = {
enable = true;
scrapeConfigs = [
{
job_name = "prometheus";
scrape_interval = "5s";
static_configs = [
{
targets = [
"localhost:9090"
];
}
];
}
];
};
}