nix-dotfiles/hosts/tsuki/services/grafana/prometheus-exporters/gitea.nix

13 lines
253 B
Nix
Raw Normal View History

{ ... }:
{
# Gitea already exports at /metrics
services.prometheus.scrapeConfigs = [{
job_name = "gitea";
scrape_interval = "15s";
metrics_path = "/metrics/gitea";
static_configs = [{
targets = [ "localhost" ];
}];
}];
}