Skip to content

Commit

Permalink
docs: remove beacon node command prefix from --monitoring flags (#5879)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored Aug 14, 2023
1 parent ca9535b commit 97502c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage/client-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ and in your [account settings](https://beaconcha.in/user/settings#app).

## Configuration

Lodestar provides CLI options to configure monitoring on both the beacon node and validator client.
Lodestar provides CLI options to configure monitoring on both the beacon node **and** validator client.

### Remote endpoint URL

Client monitoring can be enabled by setting the `--monitoring.endpoint` flag to a remote service endpoint URL.

```bash
lodestar beacon --monitoring.endpoint "https://beaconcha.in/api/v1/client/metrics?apikey={apikey}&machine={machineName}"
--monitoring.endpoint "https://beaconcha.in/api/v1/client/metrics?apikey={apikey}&machine={machineName}"
```

In case of _beaconcha.in_, the API key can be found in your [account settings](https://beaconcha.in/user/settings#api).
Expand Down Expand Up @@ -44,7 +44,7 @@ It takes an integer value in milliseconds, the default is `60000` which means da
For example, setting an interval of `300000` would mean the data is only sent every 5 minutes.

```bash
lodestar beacon --monitoring.interval 300000
--monitoring.interval 300000
```

Increasing the monitoring interval can be useful if you are running into rate limit errors when posting large amounts of data for multiple nodes.

0 comments on commit 97502c7

Please sign in to comment.