diff options
Diffstat (limited to 'modules/prometheus/files/prometheus.yml')
-rw-r--r-- | modules/prometheus/files/prometheus.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/prometheus/files/prometheus.yml b/modules/prometheus/files/prometheus.yml new file mode 100644 index 0000000..c87b181 --- /dev/null +++ b/modules/prometheus/files/prometheus.yml @@ -0,0 +1,10 @@ +global: + scrape_interval: 10s + +scrape_configs: +- job_name: telegraf + static_configs: + - targets: +<% @vpn_ips.each do |_, ip| -%> + - "<%= @ip %>:9273" +<% end -%> |