Install Dashboard

Configure Grafana and install the Stake Local Dashboard

Install Dashboard

Login to Grafana

Login to Grafana at http://127.0.0.1:3000/, replacing 127.0.0.1 with the IP address of your Grafana instance.

If this is your first time logging in to Grafana, use the default username admin and the default password admin. Grafana will ask you to set a new password.

Configure Prometheus Data Source

Connect Grafana to your Prometheus instance by configuring the Prometheus Data Source in Grafana.

On Grafana's left-hand menu, hover over the gear menu and click on Data Sources.

Then click on the Add Data Source button.

Click on Prometheus under "Time series databases".

Enter http://127.0.0.1:9090/ into the URL field. If your Prometheus instance is accessible at a different IP address or port, update those here. Otherwise, click on the Add Data Source button.

Click Save & Test.

Grafana should report that the data source is working.

Install Grafana Dashboard

Hover over the Dashboards menu in Grafana's left-hand menu, then click on Import.

Copy and paste the dashboard at into the "Import via panel json" text box on the screen.

Dashboard JSON via GitHub

It is also available in the cloned Stake Local Dashboard GitHub repository at ~/git/stakelocal-dashboard/dashboard/stakelocal-dashboard.json.

cat ~/git/stakelocal-dashboard/dashboard/stakelocal-dashboard.json

Then click the Load button.

Select your Prometheus data source in the Prometheus field.

Optionally change the Currency Code value to one of the supported currencies: USD, EUR, JPY, GPB, AUD, CAD, CHF, CNY, HKD, NZD, ILS, KRW, MXN, RUB, SGD, TWD, or INR.

If you used the Optional: Alternative Dashboard Compatibility instructions to change the default Stake Local Prometheus job_name to another value for Lighthouse or Prysm, you must update the job names on this screen. Update the Prysm Beacon Job Name, Prysm Validator Job Name, Lighthouse Beacon Job Name, and Lighthouse Validator Job Name variables to match your new job_name values, if applicable.

Click the Import button.

The dashboard should appear and data should begin to populate. Some data may take additional time to populate, from an epoch to two hours.

Congratulations, you have set up the Stake Local Dashboard.

Last updated