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

13 lines
262 B
Nix
Raw Normal View History

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