nimbus.prater: fix validator monitor details condition

It was causing very high cardinality due to lots of validators.
Crashed our Hetzner metrics server.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-06-22 12:07:16 +02:00
parent 7d9ebb1744
commit 766092f537
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ beacon_node_history_retention: '{{ "archive" if node.get("public_api") else node
beacon_node_validator_monitor_auto: true
beacon_node_validator_monitor_details: >-
{{ (node.public_api is not defined or not node.public_api)
or (node.end is defined and (node.end - node.start) <= 64) }}
and (node.end is defined and (node.end - node.start) <= 64) }}
# Builds
beacon_node_nim_commit: '{{ node.get("nim_commit", "") }}'
beacon_node_build_nim_flags: '-d:noSignalHandler {{ node.get("nim_flags", "") }}'