Prometheus: Monitor gitea metrics
This commit is contained in:
16
hosts/ildkule/services/monitoring/prometheus/gitea.nix
Normal file
16
hosts/ildkule/services/monitoring/prometheus/gitea.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.prometheus.scrapeConfigs = [{
|
||||
job_name = "gitea";
|
||||
scrape_interval = "60s";
|
||||
scheme = "https";
|
||||
|
||||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"git.pvv.ntnu.no:443"
|
||||
];
|
||||
}
|
||||
];
|
||||
}];
|
||||
}
|
Reference in New Issue
Block a user