Monitor prometheus metrics
Some checks failed
Run nix flake check / flake-check (push) Failing after 6m24s
Periodic flake update / flake-update (push) Successful in 1m59s

This commit is contained in:
2024-12-05 19:36:55 +01:00
parent 02ef7e861b
commit b3ebe3a3b0

View File

@@ -36,6 +36,9 @@
]; ];
} }
]; ];
globalConfig = {
scrape_interval = "15s";
};
rules = [ rules = [
'' ''
groups: groups:
@@ -124,6 +127,14 @@
} }
]; ];
} }
{
job_name = "prometheus";
static_configs = [
{
targets = [ "localhost:9090" ];
}
];
}
{ {
job_name = "pve-exporter"; job_name = "pve-exporter";
static_configs = [ static_configs = [