mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2024-12-03 19:10:07 +01:00
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"
|
|
];
|
|
}
|
|
];
|
|
}];
|
|
}
|