static_configs:
<% targets.each do |target| -%>
- targets:
- - <%= target[:address] %>
+ - "<%= target[:address] %>"
labels:
instance: <%= target[:name].split(".").first %>
<% end -%>
<% end -%>
+
+remote_write:
+ - url: "http://localhost:9201/write"
+
+remote_read:
+ - url: "http://localhost:9201/read"