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

View file

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