Commit a18935f5 authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

fix: fixing too long graffitis (#410)

parent cb33648d
...@@ -430,7 +430,10 @@ def get_validator_config( ...@@ -430,7 +430,10 @@ def get_validator_config(
"--metrics-allow-origin=*", "--metrics-allow-origin=*",
"--metrics-port={0}".format(VALIDATOR_METRICS_PORT_NUM), "--metrics-port={0}".format(VALIDATOR_METRICS_PORT_NUM),
# ^^^^^^^^^^^^^^^^^^^ PROMETHEUS CONFIG ^^^^^^^^^^^^^^^^^^^^^ # ^^^^^^^^^^^^^^^^^^^ PROMETHEUS CONFIG ^^^^^^^^^^^^^^^^^^^^^
"--graffiti=" + validator_node_service_name, "--graffiti="
+ constants.CL_CLIENT_TYPE.lighthouse
+ "-"
+ el_client_context.client_name,
] ]
if len(extra_params): if len(extra_params):
......
...@@ -375,7 +375,10 @@ def get_validator_config( ...@@ -375,7 +375,10 @@ def get_validator_config(
"--metrics.address=0.0.0.0", "--metrics.address=0.0.0.0",
"--metrics.port={0}".format(METRICS_PORT_NUM), "--metrics.port={0}".format(METRICS_PORT_NUM),
# ^^^^^^^^^^^^^^^^^^^ PROMETHEUS CONFIG ^^^^^^^^^^^^^^^^^^^^^ # ^^^^^^^^^^^^^^^^^^^ PROMETHEUS CONFIG ^^^^^^^^^^^^^^^^^^^^^
"--graffiti=" + validator_node_service_name, "--graffiti="
+ constants.CL_CLIENT_TYPE.lodestar
+ "-"
+ el_client_context.client_name,
] ]
if len(extra_params) > 0: if len(extra_params) > 0:
......
...@@ -336,7 +336,10 @@ def get_beacon_config( ...@@ -336,7 +336,10 @@ def get_beacon_config(
"--validators-dir=" + validator_keys_dirpath, "--validators-dir=" + validator_keys_dirpath,
"--secrets-dir=" + validator_secrets_dirpath, "--secrets-dir=" + validator_secrets_dirpath,
"--suggested-fee-recipient=" + constants.VALIDATING_REWARDS_ACCOUNT, "--suggested-fee-recipient=" + constants.VALIDATING_REWARDS_ACCOUNT,
"--graffiti=" + beacon_node_service_name, "--graffiti="
+ constants.CL_CLIENT_TYPE.nimbus
+ "-"
+ el_client_context.client_name,
] ]
if node_keystore_files != None and not split_mode_enabled: if node_keystore_files != None and not split_mode_enabled:
...@@ -421,7 +424,10 @@ def get_validator_config( ...@@ -421,7 +424,10 @@ def get_validator_config(
"--metrics", "--metrics",
"--metrics-address=0.0.0.0", "--metrics-address=0.0.0.0",
"--metrics-port={0}".format(VALIDATOR_METRICS_PORT_NUM), "--metrics-port={0}".format(VALIDATOR_METRICS_PORT_NUM),
"--graffiti=" + validator_node_service_name, "--graffiti="
+ constants.CL_CLIENT_TYPE.nimbus
+ "-"
+ el_client_context.client_name,
] ]
if len(extra_params) > 0: if len(extra_params) > 0:
......
...@@ -384,7 +384,10 @@ def get_validator_config( ...@@ -384,7 +384,10 @@ def get_validator_config(
"--monitoring-host=0.0.0.0", "--monitoring-host=0.0.0.0",
"--monitoring-port={0}".format(VALIDATOR_MONITORING_PORT_NUM), "--monitoring-port={0}".format(VALIDATOR_MONITORING_PORT_NUM),
# ^^^^^^^^^^^^^^^^^^^ METRICS CONFIG ^^^^^^^^^^^^^^^^^^^^^ # ^^^^^^^^^^^^^^^^^^^ METRICS CONFIG ^^^^^^^^^^^^^^^^^^^^^
"--graffiti=" + service_name, "--graffiti="
+ constants.CL_CLIENT_TYPE.prysm
+ "-"
+ el_client_context.client_name,
] ]
if len(extra_params) > 0: if len(extra_params) > 0:
......
...@@ -278,7 +278,10 @@ def get_config( ...@@ -278,7 +278,10 @@ def get_config(
"--metrics-port={0}".format(METRICS_PORT_NUM), "--metrics-port={0}".format(METRICS_PORT_NUM),
# ^^^^^^^^^^^^^^^^^^^ METRICS CONFIG ^^^^^^^^^^^^^^^^^^^^^ # ^^^^^^^^^^^^^^^^^^^ METRICS CONFIG ^^^^^^^^^^^^^^^^^^^^^
"--Xtrusted-setup=" + constants.KZG_DATA_DIRPATH_ON_CLIENT_CONTAINER, "--Xtrusted-setup=" + constants.KZG_DATA_DIRPATH_ON_CLIENT_CONTAINER,
"--validators-graffiti=" + service_name, "--validators-graffiti="
+ constants.CL_CLIENT_TYPE.teku
+ "-"
+ el_client_context.client_name,
] ]
# Depending on whether we're using a node keystore, we'll need to add the validator flags # Depending on whether we're using a node keystore, we'll need to add the validator flags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment