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:
Jakub Sokołowski 2022-08-16 16:18:14 +02:00
parent fb1897650c
commit da7ee8c266
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
1 changed files with 3 additions and 1 deletions

View File

@ -116,8 +116,10 @@ geth_public_addr: '{{ ansible_host }}'
# Consul config
geth_consul_enabled: true
geth_consul_service_name: 'geth-{{ geth_network_name }}'
geth_consul_scope: 'main'
geth_consul_default_tags:
- geth
- 'geth'
- 'scope:{{ geth_consul_scope }}'
- '{{ env }}.{{ stage }}'
- '{{ geth_network_name }}'
geth_consul_extra_tags: []