add flat for enabling metrics
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
fbf1b1b9fc
commit
a83e372da7
|
@ -46,6 +46,9 @@ geth_v5disc_enabled: true
|
|||
geth_trusted_peers: []
|
||||
geth_trusted_peers_file: '{{ geth_data_path }}/trusted-nodes.json'
|
||||
|
||||
# Enable metrics
|
||||
geth_metrics_enabled: true
|
||||
|
||||
# Mining settings
|
||||
geth_miner_enabled: false
|
||||
geth_miner_threads: '{{ ansible_processor_vcpus }}'
|
||||
|
|
|
@ -40,6 +40,9 @@
|
|||
--shh
|
||||
--shh.pow={{ geth_whisper_pow }}
|
||||
{% endif %}
|
||||
{% if geth_metrics_enabled %}
|
||||
--metrics
|
||||
{% endif %}
|
||||
--verbosity={{ geth_log_level_id }}
|
||||
--cache={{ geth_cache }}
|
||||
--maxpeers={{ geth_max_peers }}
|
||||
|
|
Loading…
Reference in New Issue