pvv-nixos-config/hosts/ildkule/services/metrics/prometheus/gitea.nix

13 lines
271 B
Nix
Raw Permalink Normal View History

2024-04-11 10:47:49 +02:00
{ values, ... }:
{
# Gitea already exports at /metrics
services.prometheus.scrapeConfigs = [{
job_name = "gitea";
scrape_interval = "15s";
metrics_path = "/metrics/gitea";
static_configs = [{
targets = [ "git.pvv.ntnu.no:443" ];
}];
}];
}