1
0
Fork 0
pvv-nixos-config/hosts/ildkule/services/monitoring/prometheus/gogs.nix

17 lines
308 B
Nix
Raw Normal View History

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