consul: add container meta for metrics consul service

This commit is contained in:
Anton Iakimov 2024-11-01 16:21:41 +01:00
parent 90bb6a160b
commit 834052fed5
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -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'