docs(config): replace metrics.expensive with metrics

Signed-off-by: 9547 <29431502+9547@users.noreply.github.com>
This commit is contained in:
9547 2024-12-13 22:44:14 +08:00
parent cb0b2b5bc7
commit cbf24cb2b2

View file

@ -14,8 +14,8 @@ The benefit of writing a shell script for starting a Geth node is that it is mor
To create a shell script, save the Geth startup commands in a shell file, prepended with `#!/bin/bash`. The contents of the file might look like this: To create a shell script, save the Geth startup commands in a shell file, prepended with `#!/bin/bash`. The contents of the file might look like this:
```sh ```sh
#! /bin/bash #!/bin/bash
./geth --sepolia --datadir sepoliadata --authrpc.addr localhost --authrpc.port 8551, 8545 --authrpc.vhosts localhost --authrpc.jwtsecret sepoliadata/jwtsecret --http --http.api eth,net --metrics.expensive --metric.addr 127.0.0.1 --metrics.port 6060 ./geth --sepolia --datadir sepoliadata --authrpc.addr localhost --authrpc.port 8551, 8545 --authrpc.vhosts localhost --authrpc.jwtsecret sepoliadata/jwtsecret --http --http.api eth,net --metrics --metric.addr 127.0.0.1 --metrics.port 6060
``` ```
Save the file as (e.g.) `start-geth.sh`. Then make the file executable using Save the file as (e.g.) `start-geth.sh`. Then make the file executable using