Skip to content

Commit

Permalink
roles/prometheus: use "public" domain for consul server
Browse files Browse the repository at this point in the history
Signed-off-by: John Helmert III <[email protected]>
  • Loading branch information
ajakk committed Dec 22, 2023
1 parent be9d131 commit e8bfc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/prometheus/templates/prometheus.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ scrape_configs:

- job_name: 'consul'
consul_sd_configs:
- server: 'consul.{{ wg_domain }}:8500'
- server: 'consul.{{ public_domain }}:8500'
relabel_configs:
- source_labels: [__meta_consul_tags]
regex: .*,prometheus,.*
Expand Down

0 comments on commit e8bfc2c

Please sign in to comment.