Execution Client Targets
Customize the default execution client targets
Last updated
Customize the default execution client targets
Last updated
Execution client data is collected by Prometheus from three different sources:
Directly from the client metrics page
Indirectly from the client API via json_exporter
Indirectly from the client API via Ethereum Metrics Exporter
We will set up the first two here. Ethereum Metrics Exporter is covered in a later section.
To configure the Prometheus target for client metrics, follow the instructions for your client below.
Edit the Besu configuration file in the /etc/prometheus/files_sd/stakelocal/execution_metrics
directory.
It should look like the following.
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 for label definitions.
Save the file and exit the editor.
An example execution client API target file for the Sepolia network could look like the following.
To configure the Prometheus target for client APIs, follow the instructions for your client below.
Edit the Besu configuration file in the /etc/prometheus/files_sd/stakelocal/execution_apis
directory.
It should look like the following.
If this instance of Besu is accessible at a different IP address or port, update those in the targets
line.
Save the file and exit the editor.
An example execution client metrics target file for the Goerli network could look like the following.
Update the network
, host
, service
, group
and explorer
labels, as needed. See for label definitions.
Update the network
, host
, service
, group
and explorer
labels, as needed. See for label definitions.
Update the network
, host
, service
, group
and explorer
labels, as needed. See for label definitions. The json_exporter
and client
labels may be left as-is.
Update the network
, host
, service
, group
and explorer
labels, as needed. See for label definitions. The json_exporter
and client
labels may be left as-is.
Update the network
, host
, service
, group
and explorer
labels, as needed. See for label definitions. The json_exporter
and client
labels may be left as-is.
Update the network
, host
, service
, group
and explorer
labels, as needed. See for label definitions. The json_exporter
and client
labels may be left as-is.