consul: add container meta for metrics consul service
This commit is contained in:
parent
90bb6a160b
commit
834052fed5
|
@ -24,6 +24,8 @@
|
||||||
port: '{{ geth_metrics_port }}'
|
port: '{{ geth_metrics_port }}'
|
||||||
address: '{{ geth_consul_advertised_address }}'
|
address: '{{ geth_consul_advertised_address }}'
|
||||||
disabled: '{{ not geth_metrics_enabled }}'
|
disabled: '{{ not geth_metrics_enabled }}'
|
||||||
|
meta:
|
||||||
|
container: '{{ geth_cont_name | mandatory }}'
|
||||||
checks:
|
checks:
|
||||||
- id: '{{ geth_cont_name }}-metrics-status'
|
- id: '{{ geth_cont_name }}-metrics-status'
|
||||||
type: 'tcp'
|
type: 'tcp'
|
||||||
|
|
Loading…
Reference in New Issue