📖
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
  • Prometheus Jobs
  • Configure prometheus.yml
  • Check Configuration
  1. Dashboard Installation
  2. Prometheus Jobs & Targets

Prometheus Jobs

Configure the Prometheus jobs to which targets will be assigned

PreviousPrometheus Jobs & TargetsNextAbout Stake Local Labels

Last updated 2 years ago

Prometheus Jobs

Configure prometheus.yml

The instructions below will overwrite your current prometheus.yml file with a version that supports the Stake Local Dashboard. A backup will be made of your existing file, but it is up to you to merge the two files, if necessary.

Many existing Ethereum client dashboards will work with this prometheus.yml file as-is or with minimal changes. See for a guide to maintaining compatibility with other dashboards.

Back up your current prometheus.yml file to your home directory, if you have one.

cp -v --backup=numbered /etc/prometheus/prometheus.yml ~/

Copy the prometheus.yml rules configuration file from the Stake Local Dashboard repository to /etc/prometheus/.

cd ~/git/stakelocal-dashboard/config/prometheus/
sudo cp prometheus.yml /etc/prometheus

Check Configuration

Check the configuration with promtool.

sudo promtool check config /etc/prometheus/prometheus.yml

You will get many warnings about files that do not exist. These are the target files that have not yet been configured. This is not a problem.

Look for "SUCCESS" messages similar to the following for both the configuration file and the rules file.

SUCCESS: /etc/prometheus/prometheus.yml is valid prometheus config file syntax
SUCCESS: 46 rules found

If you see the output above, then you have successfully configured the Prometheus jobs.

Optional: Alternative Dashboard Compatibility
Results of cp command
A successful promtool check command