ildkule: Move metrics->monitoring. Add uptime-kuma. Adjust prometheus exporters.

This commit is contained in:
2024-04-21 18:46:58 +02:00
parent ba457e4d4d
commit f96324f5ae
18 changed files with 26 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
{ config, ... }: let
cfg = config.services.prometheus;
in {
services.prometheus.scrapeConfigs = [{
job_name = "git-gogs";
scheme = "https";
metrics_path = "/-/metrics";
static_configs = [
{
targets = [
"essendrop.pvv.ntnu.no:443"
];
}
];
}];
}