From 5c9391984c054313287d49395e348ce6e0248d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 29 Oct 2019 19:08:42 +0100 Subject: [PATCH] add container name as metadata to metrics service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- tasks/consul.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/consul.yml b/tasks/consul.yml index c36d0fe..600ee91 100644 --- a/tasks/consul.yml +++ b/tasks/consul.yml @@ -19,6 +19,8 @@ port: '{{ beacon_node_metrics_port }}' address: '{{ ansible_local.tinc.vpn_ip }}' tags: ['{{ env }}.{{ stage }}', 'beacon', 'nimbus', 'metrics'] + meta: + container: '{{ beacon_node_cont_name }}' checks: - id: beacon-node-metrics type: http