From eabaa6e0e507eaca61a4834b1deb1c9c9cc25ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 22 May 2019 08:18:35 -0400 Subject: [PATCH] add geth metrics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/main-les.yml | 5 +++++ ansible/group_vars/rops-les.yml | 5 +++++ ansible/main.yml | 1 + ansible/requirements.yml | 4 ++++ 4 files changed, 15 insertions(+) diff --git a/ansible/group_vars/main-les.yml b/ansible/group_vars/main-les.yml index fc603d6..588644a 100644 --- a/ansible/group_vars/main-les.yml +++ b/ansible/group_vars/main-les.yml @@ -6,3 +6,8 @@ geth_sync_mode: full geth_data_path: /data geth_cont_image: 'ethereum/client-go:v1.8.17' geth_log_level_name: info + +# geth metrics +geth_source_cont_name: '{{ geth_cont_name }}' +geth_expo_cont_name: '{{ geth_cont_name }}-metrics' +geth_expo_cont_image: 'statusteam/geth_exporter:sync-metrics' diff --git a/ansible/group_vars/rops-les.yml b/ansible/group_vars/rops-les.yml index eacf31c..a9a9d43 100644 --- a/ansible/group_vars/rops-les.yml +++ b/ansible/group_vars/rops-les.yml @@ -6,3 +6,8 @@ geth_sync_mode: full geth_data_path: /data geth_cont_image: 'ethereum/client-go:v1.8.17' geth_log_level_name: info + +# geth metrics +geth_source_cont_name: '{{ geth_cont_name }}' +geth_expo_cont_name: '{{ geth_cont_name }}-metrics' +geth_expo_cont_image: 'statusteam/geth_exporter:sync-metrics' diff --git a/ansible/main.yml b/ansible/main.yml index fd7196e..34b2b7d 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -5,3 +5,4 @@ - rops-les roles: - infra-role-geth + - infra-role-geth-exporter diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 92cd466..5e65edb 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -10,3 +10,7 @@ - name: infra-role-geth src: git@github.com:status-im/infra-role-geth.git scm: git + +- name: infra-role-geth-exporter + src: git+git@github.com:status-im/infra-role-geth-exporter.git + scm: git