From 5bc4b7493d61f51c24b527d20eb1bb5408c9cbfd Mon Sep 17 00:00:00 2001 From: Thomas Jackson Date: Tue, 24 Apr 2018 17:15:11 -0700 Subject: [PATCH] Update example to put http_client in its correct location --- cmd/promxy/config.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cmd/promxy/config.yaml b/cmd/promxy/config.yaml index 05287f186..438a51a56 100644 --- a/cmd/promxy/config.yaml +++ b/cmd/promxy/config.yaml @@ -23,10 +23,6 @@ alerting: ### Promxy configuration ## promxy: - # options for promxy's HTTP client when talking to hosts in server_groups - http_client: - tls_config: - insecure_skip_verify: true server_groups: - static_configs: - targets: @@ -36,6 +32,10 @@ promxy: sg: localhost_9090 # anti-affinity for merging values in timeseries between hosts in the server_group anti_affinity: 10s + # options for promxy's HTTP client when talking to hosts in server_groups + http_client: + tls_config: + insecure_skip_verify: true # as many additional server groups as you have - static_configs: - targets: @@ -43,3 +43,6 @@ promxy: labels: sg: localhost_9091 anti_affinity: 10s + http_client: + tls_config: + insecure_skip_verify: true