deploy SMART metrics to all metal hosts

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-03-18 18:02:58 +01:00
parent e1e21119da
commit 4ea58aeda7
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
10 changed files with 36 additions and 19 deletions

View File

@ -16,6 +16,7 @@
roles:
- { role: swap-file, tags: swap-file }
- { role: open-ports, tags: open-ports }
- { role: smart-metrics, tags: smart-metrics }
- { role: infra-role-geth, tags: infra-role-geth }
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
@ -27,6 +28,7 @@
roles:
- { role: swap-file, tags: swap-file }
- { role: open-ports, tags: open-ports }
- { role: smart-metrics, tags: smart-metrics }
tasks:
- include_role: name=infra-role-geth
tags: [ geth, infra-role-geth ]

View File

@ -38,6 +38,9 @@ consul_catalog_url: 'http://localhost:8500/v1/catalog'
swap_file_path: '/docker/main.swap'
swap_file_size_mb: 2048
# SMART Metrics
smart_metrics_listen_port: 9633
# Nimbus ------------------------------
beacon_node_log_level: DEBUG
# Builds

View File

@ -55,3 +55,4 @@ open_ports_list:
- { port: '{{ es_node_port }}', ipset: 'logs.nimbus' }
- { port: '{{ es_node_port }}', ipset: 'dash.nimbus' }
- { port: '{{ es_exp_cont_port }}', ipset: 'metrics.hq' }
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }

View File

@ -33,6 +33,7 @@ open_ports_default_chain: 'VPN'
open_ports_list:
- { port: '9400:9404', ipset: 'metrics.hq', comment: 'Geth Metrics' }
- { port: '8551:8554', ipset: 'nimbus.prater' }
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
nodes_layout:
# For AWS Prater nodes.

View File

@ -36,6 +36,7 @@ open_ports_default_comment: 'Geth API'
open_ports_default_chain: 'VPN'
open_ports_list:
- { port: '{{ geth_expo_cont_port }}', ipset: 'metrics.hq', comment: 'Geth Metrics' }
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
- { port: '{{ geth_rpc_port }}', ipset: 'nimbus.mainnet' }
- { port: '{{ geth_rpc_port }}', ipset: 'eth2.prod' }
- { port: '{{ geth_authrpc_port }}', ipset: 'nimbus.mainnet' }

View File

@ -98,6 +98,7 @@ open_ports_default_chain: 'VPN'
open_ports_list:
- { port: '9300:9310', ipset: '{{ env }}.{{ stage }}' }
- { port: '9400', ipset: 'metrics.hq', comment: 'Geth Exporter' }
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
# Split by hostname for more central location
nodes_layout:

View File

@ -136,6 +136,7 @@ open_ports_default_chain: 'VPN'
open_ports_list:
- { port: '9300:9310', ipset: '{{ env }}.{{ stage }}' }
- { port: '9400:9404', ipset: 'metrics.hq', comment: 'Geth Exporter' }
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
# https://github.com/status-im/infra-nim-waku/issues/59
- { port: '9546:9550', ipset: 'wakuv2.test', comment: 'Wakuv2 Websocket' }

View File

@ -34,6 +34,7 @@
hosts: nimbus-mainnet-metal
roles:
- { role: open-ports, tags: [ open-ports ] }
- { role: smart-metrics, tags: [ smart-metrics ] }
- { role: redirect-ports, tags: [ redirect-ports ] }
- { role: infra-role-geth, tags: [ infra-role-geth ] }
- { role: infra-role-geth-exporter, tags: [ infra-role-geth-exporter ] }

View File

@ -35,6 +35,7 @@
hosts: nimbus-prater-metal
roles:
- { role: open-ports, tags: [ open-ports ] }
- { role: smart-metrics, tags: [ smart-metrics ] }
- { role: redirect-ports, tags: [ redirect-ports ] }
- { role: nimbus-era-files, tags: [ nimbus-era-files ] }
tasks:

View File

@ -80,7 +80,7 @@
- name: infra-role-rocketpool
src: git@github.com:status-im/infra-role-rocketpool.git
version: 8c96f6c15af5aefc1f022f6dcd7c0efb1ce29b63
version: 5b8106a8c6e17ec96e992fd8711fc42f0aab901a
scm: git
- name: infra-role-winsw
@ -122,3 +122,8 @@
src: git@github.com:status-im/infra-role-geth-exporter.git
version: 21770167cdeb5c481066547b6d0814f1ba8546c1
scm: git
- name: smart-metrics
src: git@github.com:status-im/infra-role-smart-metrics.git
version: f94db4679ef3f920188565dda1e3933cdf70e39a
scm: git