Skip to content

Commit

Permalink
Make run_nodes export metricsproperly
Browse files Browse the repository at this point in the history
  • Loading branch information
timorleph committed Jan 10, 2025
1 parent 0edd911 commit 99102da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/run_nodes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ CHAINSPEC_GENERATOR="target/release/chain-bootstrapper"
NODE_P2P_PORT_RANGE_START=30333
NODE_VALIDATOR_PORT_RANGE_START=30343
NODE_RPC_PORT_RANGE_START=9944
PROMETHEUS_PORT_RANGE_START=9615

# ------------------------ argument parsing and usage -----------------------

Expand Down Expand Up @@ -174,6 +175,7 @@ function run_node() {
--name "${node_name}"
--rpc-port $((NODE_RPC_PORT_RANGE_START + index))
--port $((NODE_P2P_PORT_RANGE_START + index))
--prometheus-port $((PROMETHEUS_PORT_RANGE_START + index))
--validator-port "${validator_port}"
--node-key-file "${BASE_PATH}/${account_id}/p2p_secret"
--backup-path "${BASE_PATH}/${account_id}/backup-stash"
Expand All @@ -193,6 +195,7 @@ function run_node() {
-laleph-data-store=debug
-laleph-updater=debug
-laleph-metrics=debug
-laleph-abft=debug
)

info "Running node ${index}..."
Expand Down

0 comments on commit 99102da

Please sign in to comment.