diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-07-01 22:12:28 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-07-01 22:12:28 -0400 |
commit | c7e910371957aff3702c297069226cc345fe9bf0 (patch) | |
tree | d7694e2e0bdee9765d0e29148f2daf80bb396bef /modules/prometheus/files/prometheus.yml | |
parent | f6cf5fc61ac1e6d1eda3fcc4c95e3c5ace575ffb (diff) | |
download | puppet-tozt-c7e910371957aff3702c297069226cc345fe9bf0.tar.gz puppet-tozt-c7e910371957aff3702c297069226cc345fe9bf0.zip |
try out prometheus
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 -%> |