Skip to content

Commit

Permalink
Update example to put http_client in its correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksontj committed Apr 25, 2018
1 parent 44dec9a commit 5bc4b74
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions cmd/promxy/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -36,10 +32,17 @@ 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:
- localhost:9091
labels:
sg: localhost_9091
anti_affinity: 10s
http_client:
tls_config:
insecure_skip_verify: true

0 comments on commit 5bc4b74

Please sign in to comment.