add flat for enabling metrics

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-14 19:28:57 +02:00
parent fbf1b1b9fc
commit a83e372da7
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 6 additions and 0 deletions

View File

@ -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 }}'

View File

@ -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 }}