consul: add scope:main to tags by default
Without scope we can't select which metrics we want to collect. This is especially important for `eth2.prod` which has it's own Prometheus instance and its metrics should not go to our main cluster. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
fb1897650c
commit
da7ee8c266
|
@ -116,8 +116,10 @@ geth_public_addr: '{{ ansible_host }}'
|
||||||
# Consul config
|
# Consul config
|
||||||
geth_consul_enabled: true
|
geth_consul_enabled: true
|
||||||
geth_consul_service_name: 'geth-{{ geth_network_name }}'
|
geth_consul_service_name: 'geth-{{ geth_network_name }}'
|
||||||
|
geth_consul_scope: 'main'
|
||||||
geth_consul_default_tags:
|
geth_consul_default_tags:
|
||||||
- geth
|
- 'geth'
|
||||||
|
- 'scope:{{ geth_consul_scope }}'
|
||||||
- '{{ env }}.{{ stage }}'
|
- '{{ env }}.{{ stage }}'
|
||||||
- '{{ geth_network_name }}'
|
- '{{ geth_network_name }}'
|
||||||
geth_consul_extra_tags: []
|
geth_consul_extra_tags: []
|
||||||
|
|
Loading…
Reference in New Issue