From 834052fed5084041755cb3b8bf1449a984f98a27 Mon Sep 17 00:00:00 2001 From: Anton Iakimov Date: Fri, 1 Nov 2024 16:21:41 +0100 Subject: [PATCH] consul: add container meta for metrics consul service --- tasks/consul.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/consul.yml b/tasks/consul.yml index 5b1802e..be09643 100644 --- a/tasks/consul.yml +++ b/tasks/consul.yml @@ -24,6 +24,8 @@ port: '{{ geth_metrics_port }}' address: '{{ geth_consul_advertised_address }}' disabled: '{{ not geth_metrics_enabled }}' + meta: + container: '{{ geth_cont_name | mandatory }}' checks: - id: '{{ geth_cont_name }}-metrics-status' type: 'tcp'