Commit 21eae3b5 authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

feat: add graffiti (#408)

parent c658c7e0
......@@ -197,6 +197,7 @@ def launch(
v_max_cpu,
v_min_mem,
v_max_mem,
validator_node_service_name,
extra_validator_params,
extra_validator_labels,
)
......@@ -391,6 +392,7 @@ def get_validator_config(
v_max_cpu,
v_min_mem,
v_max_mem,
validator_node_service_name,
extra_params,
extra_labels,
):
......@@ -427,6 +429,7 @@ def get_validator_config(
"--metrics-allow-origin=*",
"--metrics-port={0}".format(VALIDATOR_METRICS_PORT_NUM),
# ^^^^^^^^^^^^^^^^^^^ PROMETHEUS CONFIG ^^^^^^^^^^^^^^^^^^^^^
"--graffiti=" + validator_node_service_name,
]
if len(extra_params):
......
......@@ -173,6 +173,7 @@ def launch(
v_max_cpu,
v_min_mem,
v_max_mem,
validator_node_service_name,
extra_validator_params,
extra_validator_labels,
)
......@@ -339,6 +340,7 @@ def get_validator_config(
v_max_cpu,
v_min_mem,
v_max_mem,
validator_node_service_name,
extra_params,
extra_labels,
):
......@@ -372,6 +374,7 @@ def get_validator_config(
"--metrics.address=0.0.0.0",
"--metrics.port={0}".format(METRICS_PORT_NUM),
# ^^^^^^^^^^^^^^^^^^^ PROMETHEUS CONFIG ^^^^^^^^^^^^^^^^^^^^^
"--graffiti=" + validator_node_service_name,
]
if len(extra_params) > 0:
......
......@@ -381,8 +381,9 @@ def get_validator_config(
# vvvvvvvvvvvvvvvvvvv METRICS CONFIG vvvvvvvvvvvvvvvvvvvvv
"--disable-monitoring=false",
"--monitoring-host=0.0.0.0",
"--monitoring-port={0}".format(VALIDATOR_MONITORING_PORT_NUM)
"--monitoring-port={0}".format(VALIDATOR_MONITORING_PORT_NUM),
# ^^^^^^^^^^^^^^^^^^^ METRICS CONFIG ^^^^^^^^^^^^^^^^^^^^^
"--graffiti=" + service_name,
]
if len(extra_params) > 0:
......
......@@ -133,6 +133,7 @@ def launch(
bn_max_mem,
snooper_enabled,
snooper_engine_context,
service_name,
extra_params,
extra_labels,
)
......@@ -190,6 +191,7 @@ def get_config(
bn_max_mem,
snooper_enabled,
snooper_engine_context,
service_name,
extra_params,
extra_labels,
):
......@@ -275,6 +277,7 @@ def get_config(
"--metrics-port={0}".format(METRICS_PORT_NUM),
# ^^^^^^^^^^^^^^^^^^^ METRICS CONFIG ^^^^^^^^^^^^^^^^^^^^^
"--Xtrusted-setup=" + constants.KZG_DATA_DIRPATH_ON_CLIENT_CONTAINER,
"--validators-graffiti=" + service_name,
]
# 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