diff --git a/roles/prometheus/templates/prometheus.yml b/roles/prometheus/templates/prometheus.yml index d54ce68..da171dd 100644 --- a/roles/prometheus/templates/prometheus.yml +++ b/roles/prometheus/templates/prometheus.yml @@ -36,4 +36,4 @@ scrape_configs: # If prometheus-node-exporter is installed, grab stats about the local # machine by default. static_configs: - - targets: ['localhost:9100'] + - targets: ['172.20.1.1:9100']