Skip to content

Commit

Permalink
Configure metrics param for provision and config.example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iknite committed Mar 20, 2019
1 parent daa0759 commit 1ea7ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ agent:
node: "nodeName" # Role for node, it can be only `auditor`, `monitor` or `publisher`
bind: ":8200" # Bind address for TCP/UDP gossip on (host:port)
advertise: "" # Address to advertise to cluster
metrics: "" # Address to bind metrics endpoint
join: # Comma-delimited list of nodes ([host]:port), through which a cluster can be joined
- "127.0.0.1:8400"
alert_urls: # List of Alert servers ([host]:port), through which an agent can post alerts
Expand Down
6 changes: 3 additions & 3 deletions deploy/aws/provision/templates/qed-config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ server:
agent:
node: "monitor-{{ ansible_hostname }}"
bind: "{{ ansible_eth0.ipv4.address }}:8200"
advertise: ""
metrics: "{{ ansible_eth0.ipv4.address }}:18200"
join:
{% for host in groups['name_qed-0'] %}
- "{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:8400"
Expand All @@ -58,7 +58,7 @@ agent:
agent:
node: "auditor-{{ ansible_hostname }}"
bind: "{{ ansible_eth0.ipv4.address }}:8100"
advertise: ""
metrics: "{{ ansible_eth0.ipv4.address }}:18100"
join:
{% for host in groups['name_qed-0'] %}
- "{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:8400"
Expand All @@ -78,7 +78,7 @@ agent:
agent:
node: "publisher-{{ ansible_hostname }}"
bind: "{{ ansible_eth0.ipv4.address }}:8300"
advertise: ""
metrics: "{{ ansible_eth0.ipv4.address }}:18300"
join:
{% for host in groups['name_qed-0'] %}
- "{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:8400"
Expand Down

0 comments on commit 1ea7ad3

Please sign in to comment.