diff --git a/values/base/grafana-k8s-monitoring.yaml b/values/base/grafana-k8s-monitoring.yaml index 4eda317..a58abdc 100644 --- a/values/base/grafana-k8s-monitoring.yaml +++ b/values/base/grafana-k8s-monitoring.yaml @@ -65,16 +65,12 @@ collectors: # integration cannot discover it. Scrape the three control-plane listeners # directly; access is limited by the accompanying Talos and Cilium policies. extraConfig: | - discovery.static "talos_etcd" { + prometheus.scrape "talos_etcd" { targets = [ { "__address__" = "192.168.122.109:2381", "instance" = "unraid-lab-control-planes-gwvq7k", "job" = "integrations/etcd" }, { "__address__" = "192.168.122.190:2381", "instance" = "unraid-lab-control-planes-hqf6vh", "job" = "integrations/etcd" }, { "__address__" = "192.168.122.214:2381", "instance" = "unraid-lab-control-planes-htvzs7", "job" = "integrations/etcd" }, ] - } - - prometheus.scrape "talos_etcd" { - targets = discovery.static.talos_etcd.targets scrape_interval = "60s" scrape_timeout = "10s" scrape_protocols = ["OpenMetricsText1.0.0", "OpenMetricsText0.0.1", "PrometheusText0.0.4"]