13 lines
271 B
Nix
13 lines
271 B
Nix
|
{ values, ... }:
|
||
|
{
|
||
|
# Gitea already exports at /metrics
|
||
|
services.prometheus.scrapeConfigs = [{
|
||
|
job_name = "gitea";
|
||
|
scrape_interval = "15s";
|
||
|
metrics_path = "/metrics/gitea";
|
||
|
static_configs = [{
|
||
|
targets = [ "git.pvv.ntnu.no:443" ];
|
||
|
}];
|
||
|
}];
|
||
|
}
|