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

17 lines
308 B
Nix
Raw Permalink 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"
];
}
];
}];
}