Prometheus: Monitor gitea metrics

This commit is contained in:
2024-09-14 20:21:12 +02:00
parent 179d0743ce
commit c64d28fc26
3 changed files with 17 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
{ ... }:
{
services.prometheus.scrapeConfigs = [{
job_name = "gitea";
scrape_interval = "60s";
scheme = "https";
static_configs = [
{
targets = [
"git.pvv.ntnu.no:443"
];
}
];
}];
}