diff --git a/dotfiles/guixsd/guixsd.scm b/dotfiles/guixsd/guixsd.scm index 6ccc7d8af..43dbe7a4d 100644 --- a/dotfiles/guixsd/guixsd.scm +++ b/dotfiles/guixsd/guixsd.scm @@ -1866,7 +1866,6 @@ location / { (service prometheus-dnsmasq-service-type (prometheus-dnsmasq-configuration - (listen-address "127.0.0.1:9153") (prometheus-dnsmasq "/home/oleg/.nix-profile/bin/dnsmasq_exporter"))) (service openssh-service-type diff --git a/infrastructure/cluster1/kube-prometheus-stack/values.yaml b/infrastructure/cluster1/kube-prometheus-stack/values.yaml index 09595c052..8cd440d3b 100644 --- a/infrastructure/cluster1/kube-prometheus-stack/values.yaml +++ b/infrastructure/cluster1/kube-prometheus-stack/values.yaml @@ -44,6 +44,11 @@ prometheus: - notebook.wugi.info:9100 scrape_interval: 5s job_name: node + - static_configs: + - targets: + - 127.0.0.1:9153 + honor_labels: true + job_name: dnsmasq ingress: enabled: true ingressClassName: nginx