3
0

OP#188 add option to allow external remote write in gerenal

This commit is contained in:
2025-12-03 15:29:56 +01:00
parent b4c889aa10
commit 5967b2b3fc
2 changed files with 22 additions and 3 deletions

View File

@@ -35,4 +35,11 @@ remote_write:
- url: "http://localhost:9090/api/v1/write"
basic_auth:
username: <%= @ps_auth_user %>
password: <%= @ps_auth_pass %>
password: <%= @ps_auth_pass %>
<% if @ps_write_external == true -%>
remote_write:
- url: "<%= @ps_external_url %>"
basic_auth:
username: <%= @ps_auth_ext_user %>
password: <%= @ps_auth_ext_pass %>
<% end -%>