WIP: gitea metrics
Some checks failed
Eval nix flake / evals (push) Failing after 1m40s

This commit is contained in:
2024-04-11 10:47:49 +02:00
parent c90dda4f85
commit 0625b16e50
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{ 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" ];
}];
}];
}