If this instance of Besu is accessible at a different IP address or port, update those in the targets line.
Update the network, host, service, group and explorer labels, as needed. See About Stake Local Labels for label definitions. The json_exporter and client labels may be left as-is.
Save the file and exit the editor.
Edit the Erigon configuration file in the /etc/prometheus/files_sd/stakelocal/execution_apis directory.
If this instance of Erigon is accessible at a different IP address or port, update those in the targets line.
Update the network, host, service, group and explorer labels, as needed. See About Stake Local Labels for label definitions. The json_exporter and client labels may be left as-is.
Save the file and exit the editor.
Edit the Geth configuration file in the /etc/prometheus/files_sd/stakelocal/execution_apis directory.
If this instance of Geth is accessible at a different IP address or port, update those in the targets line.
Update the network, host, service, group and explorer labels, as needed. See About Stake Local Labels for label definitions. The json_exporter and client labels may be left as-is.
Save the file and exit the editor.
Edit the Nethermind configuration file in the /etc/prometheus/files_sd/stakelocal/execution_apis directory.
If this instance of Nethermind is accessible at a different IP address or port, update those in the targets line.
Update the network, host, service, group and explorer labels, as needed. See About Stake Local Labels for label definitions. The json_exporter and client labels may be left as-is.
Save the file and exit the editor.
An example execution client metrics target file for the Goerli network could look like the following.