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

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

Last updated