192 stable releases

new 1.8.6 Dec 1, 2021
1.8.5 Nov 17, 2021
1.8.2 Oct 27, 2021
1.7.9 Jul 31, 2021
0.12.1 Mar 26, 2019

#1125 in Magic Beans

Download history 3468/week @ 2021-08-17 3973/week @ 2021-08-24 5437/week @ 2021-08-31 7057/week @ 2021-09-07 5345/week @ 2021-09-14 4868/week @ 2021-09-21 5772/week @ 2021-09-28 4985/week @ 2021-10-05 5638/week @ 2021-10-12 5360/week @ 2021-10-19 5950/week @ 2021-10-26 5780/week @ 2021-11-02 5986/week @ 2021-11-09 6083/week @ 2021-11-16 5739/week @ 2021-11-23 7823/week @ 2021-11-30

26,723 downloads per month
Used in 115 crates (33 directly)


10K SLoC


Testnet Grafana Dashboard

There are three versions of the testnet dashboard, corresponding to the three release channels:

The dashboard for each channel is defined from the metrics/scripts/grafana-provisioning/dashboards/cluster-monitor.json source file in the git branch associated with that channel, and deployed by automation running ci/publish-metrics-dashboard.sh.

A deploy can be triggered at any time via the New Build button of https://buildkite.com/solana-labs/publish-metrics-dashboard.

Modifying a Dashboard

Dashboard updates are accomplished by modifying metrics/scripts/grafana-provisioning/dashboards/cluster-monitor.json, manual edits made directly in Grafana will be overwritten.

  • Check out metrics to add at https://metrics.solana.com:8888/ in the data explorer.
  • When editing a query for a dashboard graph, use the "Toggle Edit Mode" selection behind the hamburger button to use raw SQL and copy the query into the text field. You may have to fixup the query with the dashboard variables like $testnet or $timeFilter, check other functioning fields in the dashboard for examples.
  1. Open the desired dashboard in Grafana
  2. Create a development copy of the dashboard by selecting Save As.. in the Settings menu for the dashboard
  3. Edit dashboard as desired
  4. Extract the JSON Model by selecting JSON Model in the Settings menu. Copy the JSON to the clipboard and paste into metrics/scripts/grafana-provisioning/dashboards/cluster-monitor.json,
  5. Delete your development dashboard: Settings => Delete

Deploying a Dashboard Manually

If you need to immediately deploy a dashboard using the contents of cluster-monitor.json in your local workspace,

$ export GRAFANA_API_TOKEN="an API key from https://metrics.solana.com:3000/org/apikeys"
$ metrics/publish-metrics-dashboard.sh (edge|beta|stable)

Note that automation will eventually overwrite your manual deploy.


~299K SLoC