mainnet,sepolia,holesky: disable checks on public API nodes

Flakiness of REST API when abused by exposure to the internet makes
these healthchecks useless. They essentially produce noise.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-06-14 19:18:49 +02:00
parent eca6fc2e76
commit 9fa3af9a37
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
4 changed files with 4 additions and 1 deletions

View File

@ -116,6 +116,7 @@ beacon_node_rest_port: '{{ 9300 + idx|int + 1 }}'
beacon_node_rest_address: '0.0.0.0'
# Reduce Consul alerts sensitivity
beacon_node_consul_check_disabled: '{{ node.get("public_api", false) }}'
beacon_node_consul_check_interval: '60s'
beacon_node_consul_check_timeout: '10s'
beacon_node_consul_success_before_passing: '{{ 60 if not node.get("public_api") else 1 }}' # 1h or 60s for public API

View File

@ -89,6 +89,7 @@ beacon_node_exec_layer_urls: |-
else (idx % 2 == 0) | ternary(beacon_node_exec_layer_urls_all, []) }}
# Reduce Consul alerts sensitivity
beacon_node_consul_check_disabled: '{{ node.get("public_api", false) }}'
beacon_node_consul_check_interval: '60s'
beacon_node_consul_check_timeout: '10s'
beacon_node_consul_success_before_passing: '{{ 5 if node.get("public_api") else 60 }}' # 1h by default

View File

@ -59,6 +59,7 @@ beacon_node_metrics_port: '{{ 9200 + idx|int + 11 }}'
beacon_node_rest_port: '{{ beacon_node_rest_port_base + idx|int + 11 }}'
beacon_node_rest_address: '0.0.0.0'
# Reduce Consul alerts sensitivity
beacon_node_consul_check_disabled: '{{ node.get("public_api", false) }}'
beacon_node_consul_check_interval: '60s'
beacon_node_consul_check_timeout: '10s'
beacon_node_consul_success_before_passing: 60 # 1h

View File

@ -30,7 +30,7 @@
- name: infra-role-consul-service
src: git@github.com:status-im/infra-role-consul-service.git
version: d62993069bd045edade5d5fd90c098655089db85
version: 2ef75e12a6bd0b57e1db95c834d30be45fe17af4
- name: infra-role-beacon-node-linux
src: git@github.com:status-im/infra-role-beacon-node-linux.git