re-enable metrics check and disable TCP check on libp2p port

Mostly likely the fact we dropped docker-proxy/userland-proxy from our
configuration has revealed the fact that currently Nimbus limits the
number of connections it accepts, and once that limit is reached it just
stops accepting new TCP connections.

For more details see:
https://github.com/status-im/infra-nimbus/issues/35#issuecomment-778503016

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-02-12 23:51:40 +01:00
parent ba913704d6
commit 4de9cb8357
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 8 additions and 8 deletions

View File

@ -9,10 +9,10 @@
port: '{{ beacon_node_listening_port }}'
address: '{{ beacon_node_public_address }}'
tags: ['{{ env }}.{{ stage }}', 'beacon', 'nimbus']
checks:
- name: '{{ beacon_node_consul_service_name }}-health'
type: 'tcp'
tcp: 'localhost:{{ beacon_node_listening_port }}'
#checks:
# - name: '{{ beacon_node_consul_service_name }}-health'
# type: 'tcp'
# tcp: 'localhost:{{ beacon_node_listening_port }}'
- id: '{{ beacon_node_cont_name }}-metrics'
name: '{{ beacon_node_consul_metrics_service_name }}'
@ -21,7 +21,7 @@
tags: ['{{ env }}.{{ stage }}', 'beacon', 'nimbus', 'metrics']
meta:
container: '{{ beacon_node_cont_name }}'
#checks:
# - name: '{{ beacon_node_consul_metrics_service_name }}-health'
# type: 'http'
# http: 'http://localhost:{{ beacon_node_metrics_port }}/metrics'
checks:
- name: '{{ beacon_node_consul_metrics_service_name }}-health'
type: 'http'
http: 'http://localhost:{{ beacon_node_metrics_port }}/metrics'