Just replace your static_sd section with a file_sd section. Before:
job_name: node static_configs: - targets: - foo:9100 - bar:9100 - baz:9100 After: job_name: node file_sd_configs: - files: - /etc/prometheus/targets.d/node_targets.yml and the file /etc/prometheus/targets.d/node_targets.yml contains: - targets: - foo:9100 - bar:9100 - baz:9100 -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/be5d58c2-20ac-4ccc-8c40-38eb485fa7cb%40googlegroups.com.