pvv-nixos-config/hosts/ildkule/services/monitoring/prometheus/gogs.nix
Felix Albrigtsen f96324f5ae
Some checks failed
Eval nix flake / evals (push) Failing after 1m49s
Eval nix flake / evals (pull_request) Failing after 1m44s
ildkule: Move metrics->monitoring. Add uptime-kuma. Adjust prometheus exporters.
2024-04-21 18:46:58 +02:00

17 lines
308 B
Nix

{ 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"
];
}
];
}];
}