forked from Drift/pvv-nixos-config
17 lines
308 B
Nix
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"
|
||
|
];
|
||
|
}
|
||
|
];
|
||
|
}];
|
||
|
}
|