diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-08-31 16:40:26 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-08-31 16:40:26 +0200 |
commit | 5c41b54696c1c04978da1372d84a398aad58b287 (patch) | |
tree | 7fd42af9809312989ed7fc28788b0abbb3e4c745 /roles/monitoring/prometheus/server/defaults/main | |
parent | prometheus/server: add support for remote-write (diff) |
prometheus remote-write: refactor config to force naming destinations
Diffstat (limited to 'roles/monitoring/prometheus/server/defaults/main')
-rw-r--r-- | roles/monitoring/prometheus/server/defaults/main/main.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/monitoring/prometheus/server/defaults/main/main.yml b/roles/monitoring/prometheus/server/defaults/main/main.yml index 61bc4323..dd290e9e 100644 --- a/roles/monitoring/prometheus/server/defaults/main/main.yml +++ b/roles/monitoring/prometheus/server/defaults/main/main.yml @@ -77,8 +77,9 @@ prometheus_server_web_listen_address: 127.0.0.1:9090 prometheus_server_remote_write_receiver: no -# prometheus_server_remote_write_config: -# - url: "https://mon.example.com/prometheus/api/v1/write" +# prometheus_server_remote_write_destinations: +# example: +# url: "https://mon.example.com/prometheus/api/v1/write" # basic_auth: # username: remote # password_file: /etc/prometheus/prometheus-remote.secret |