summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-mon.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-mon.yml')
-rw-r--r--inventory/host_vars/ch-mon.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml
index b93dbd05..b03648d0 100644
--- a/inventory/host_vars/ch-mon.yml
+++ b/inventory/host_vars/ch-mon.yml
@@ -347,3 +347,22 @@ monitoring_landingpage_service_extra_directives:
auth_request_set $username $upstream_http_x_username;
proxy_set_header X-WEBAUTH-USER $username;
proxy_set_header Authorization "";
+
+
+
+prometheus_server_remote_write_destinations:
+ test-at-home:
+ url: "http://192.168.32.43/prometheus/api/v1/write"
+ basic_auth:
+ username: remote
+ password_file: /etc/prometheus/prometheus-remote.secret
+ write_relabel_configs:
+ - source_labels: ['__name__']
+ regex: 'go_gc_.*'
+ action: 'drop'
+ - source_labels: ['job']
+ regex: 'alertmanager'
+ action: 'drop'
+
+prometheus_server_secret_files:
+ remote: remote