Ethereum Address Targets

Add targets for Ethereum addresses to be monitored

Ethereum Address Targets

The Stake Local Dashboard can monitor the balance of fee addresses, withdrawal addresses, or any other Ethereum address. Due to the limited data available, it cannot provide accurate long-term reporting of earnings/fees. However, it can provide address balances and their annualized rates of change a calculated over various periods.

Edit the addresses configuration file in the /etc/prometheus/files_sd/stakelocal/ directory.

sudo nano /etc/prometheus/files_sd/stakelocal/addresses.yml

It should look like the following.

    - targets: []
      labels:
        network: 'Mainnet'
        host: 'Default Host'
        service: ''
        group: 'Default Group'
        instance: '127.0.0.1:8545'
        explorer: 'etherscan.io'

Update the targets line to include a comma-delimited list of Ethereum addresses to be monitored in between the square brackets.

Example values:

  • -targets: [ 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000 ]

  • -targets: [ "0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000" ]

  • -targets: [ '0x0000000000000000000000000000000000000000', '0x0000000000000000000000000000000000000000', '0x0000000000000000000000000000000000000000' ]

If the execution client being queried is not on the local host or uses a non-standard port, update those on the instance line.

Update the network, host, service, group, and explorer labels, as needed. See About Stake Local Labels for label definitions.

The service label is optional. It only serves to identify the type of client being queried in Ethereum address requests, but the value itself is not presently used in the dashboard.

An example addresses.yml file for the Goerli network could look like the following.

    - targets: [ 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000 ]
      labels:
        network: 'Goerli'
        host: 'nuc'
        service: 'Geth'
        group: 'Goerli Prysm/Geth'
        instance: '127.0.0.1:8545'
        explorer: 'goerli.etherscan.io'

Save the file and exit the editor.

Last updated