3
0
Arne Teuke
2025-10-18 13:08:50 +02:00
parent c2eca38b93
commit 4f61a39c40
5 changed files with 30 additions and 6 deletions

View File

@@ -25,10 +25,10 @@ scrape_configs:
- targets:
- localhost:9090
basic_auth:
username_file: /etc/prometheus/secrets/prometheus-auth/username
password_file: /etc/prometheus/secrets/prometheus-auth/password
username: <%= @ps_auth_user %>
password: <%= @ps_auth_pass %>
remote_write:
- url: "http://localhost:9090/api/v1/write"
basic_auth:
username_file: /etc/prometheus/secrets/prometheus-auth/username
password_file: /etc/prometheus/secrets/prometheus-auth/password
username: <%= @ps_auth_user %>
password: <%= @ps_auth_pass %>