📖
Stake Local Dashboard
  • Stake Local Dashboard
    • Library Sections
  • Dashboard Installation
    • Installation Overview
    • Install Supporting Software
      • Install Prerequisites
      • Install Prometheus
      • Install Grafana
      • Install node_exporter
      • Install json_exporter
      • Install Ethereum Metrics Exporter
    • Configure Ethereum Clients
    • Configure Supporting Software
      • Configure json_exporter
      • Configure Prometheus Rules
      • Configure Ethereum Metrics Exporter
    • Prometheus Jobs & Targets
      • Prometheus Jobs
      • About Stake Local Labels
      • Base Targets Installation
      • Consensus Client Targets
      • Execution Client Targets
      • Validator Client Targets
      • node_exporter Target
      • json_exporter Target
      • Ethereum Metrics Exporter Targets
      • Third-Party Targets
      • Ethereum Address Targets
      • Validator Public Key Targets
      • Optional: Grafana Target
      • Optional: Prometheus Target
      • Clean Up Unused Targets
    • Optional: Alternative Dashboard Compatibility
      • Besu Dashboard Compatibility
      • Erigon Dashboard Compatibility
      • Geth Dashboard Compatibility
      • Lighthouse Dashboard Compatibility
      • Lodestar Dashboard Compatibility
      • Nethermind Dashboard Compatibility
      • Nimbus Dashboard Compatibility
      • Prysm Dashboard Compatibility
      • Teku Compatibility
    • Enable & Start/Restart Services
      • Checking Software Status
    • Install Dashboard
  • Additional Modifications
    • Additional Staking Groups
    • Change or Add Currency
Powered by GitBook
On this page
  1. Dashboard Installation
  2. Prometheus Jobs & Targets

Clean Up Unused Targets

Remove Prometheus target configurations for clients not in use

We started by unpacking an archive of Prometheu target files, and have now made modifications to files for clients we intend to use. At this point we may have many more target files installed for clients we do not intend to use.

Remove the target configuration files for clients you do not intend to use. Do not delete the target configuration files we have already customized and intend to use.

Warning: Do not delete target configuration files for clients you are using.

Here are commands to delete unwanted execution client target configuration files.

Only run these commands if you are NOT monitoring Besu with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/execution_metrics/besu.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/execution_apis/besu.yml

Only run these commands if you are NOT monitoring Erigon with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/execution_metrics/erigon.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/execution_apis/erigon.yml

Only run these commands if you are NOT monitoring Geth with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/execution_metrics/geth.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/execution_apis/geth.yml

Only run these commands if you are NOT monitoring Nethermind with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/execution_metrics/nethermind.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/execution_apis/nethermind.yml

Here are commands to delete unwanted consensus client target configuration files.

Only run these commands if you are NOT monitoring Lighthouse with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_metrics/lighthouse.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_apis/lighthouse.yml

Only run these commands if you are NOT monitoring Lodestar with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_metrics/lodestar.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_apis/lodestar.yml

Only run these commands if you are NOT monitoring Teku with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_metrics/nimbus.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_apis/nimbus.yml

Only run these commands if you are NOT monitoring Teku with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_metrics/prysm.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_apis/prysm.yml

Only run these commands if you are NOT monitoring Teku with the Stake Local Dashboard.

sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_metrics/teku.yml
sudo rm -i /etc/prometheus/files_sd/stakelocal/consensus_apis/teku.yml
PreviousOptional: Prometheus TargetNextOptional: Alternative Dashboard Compatibility

Last updated 2 years ago