From cbf24cb2b201f78dafc22b7e70c16b2bff4d159e Mon Sep 17 00:00:00 2001 From: 9547 <29431502+9547@users.noreply.github.com> Date: Fri, 13 Dec 2024 22:44:14 +0800 Subject: [PATCH] docs(config): replace metrics.expensive with metrics Signed-off-by: 9547 <29431502+9547@users.noreply.github.com> --- docs/fundamentals/config-files.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fundamentals/config-files.md b/docs/fundamentals/config-files.md index d6e3a3810e..4b848f4c0f 100644 --- a/docs/fundamentals/config-files.md +++ b/docs/fundamentals/config-files.md @@ -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: ```sh -#! /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 +#!/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 --metric.addr 127.0.0.1 --metrics.port 6060 ``` Save the file as (e.g.) `start-geth.sh`. Then make the file executable using