switching to path based scheme and adding metrics

This commit is contained in:
Ubuntu 2023-12-01 22:43:06 +00:00
parent 29f487a379
commit 1716abb4a0
2 changed files with 18 additions and 0 deletions

View file

@ -63,6 +63,14 @@ services:
"openmetrics_endpoint": "http://%%host%%:6060/debug/metrics/prometheus", "openmetrics_endpoint": "http://%%host%%:6060/debug/metrics/prometheus",
"namespace": "geth-poa", "namespace": "geth-poa",
"metrics": [ "metrics": [
"txpool*",
"trie*",
"system*",
"state*",
"rpc*",
"p2p*",
"eth*",
"chain*",
"clique*" "clique*"
] ]
} }
@ -93,6 +101,14 @@ services:
"openmetrics_endpoint": "http://%%host%%:6060/debug/metrics/prometheus", "openmetrics_endpoint": "http://%%host%%:6060/debug/metrics/prometheus",
"namespace": "geth-poa", "namespace": "geth-poa",
"metrics": [ "metrics": [
"txpool*",
"trie*",
"system*",
"state*",
"rpc*",
"p2p*",
"eth*",
"chain*",
"clique*" "clique*"
] ]
} }

View file

@ -64,6 +64,7 @@ if [ "$GETH_NODE_TYPE" = "bootnode" ]; then
--ws.api=debug,eth,txpool,net,engine \ --ws.api=debug,eth,txpool,net,engine \
--syncmode=full \ --syncmode=full \
--gcmode=full \ --gcmode=full \
--state.scheme=path \
--networkid=$CHAIN_ID \ --networkid=$CHAIN_ID \
--nousb \ --nousb \
--metrics \ --metrics \
@ -82,6 +83,7 @@ elif [ "$GETH_NODE_TYPE" = "signer" ]; then
--port 30311 \ --port 30311 \
--syncmode=full \ --syncmode=full \
--gcmode=full \ --gcmode=full \
--state.scheme=path \
--http \ --http \
--http.corsdomain="*" \ --http.corsdomain="*" \
--http.vhosts="*" \ --http.vhosts="*" \