feat(monitoring): Add uptime-kuma to prometheus targets

This commit is contained in:
sinavir 2024-04-14 01:09:28 +02:00
parent c6fe6b5891
commit 60ee43b577
3 changed files with 10 additions and 0 deletions

View file

@ -55,6 +55,15 @@ in
job_name = "node_exporter";
static_configs = nodeExporterConfigs;
}
{
job_name = "uptime_kuma";
scheme = "https";
static_configs = [ { targets = [ "status.dgnum.eu" ]; } ];
basic_auth = {
username = "prometheus";
password_file = config.age.secrets."prometheus-uptime-kuma-apikey".path;
};
}
];
};

View file

@ -17,4 +17,5 @@ lib.setDefault { inherit publicKeys; } [
"peertube-service_environment_file"
"peertube-smtp_password_file"
"prometheus-web_config_file"
"prometheus-uptime-kuma-apikey"
]