Visualizing Zcash Metrics: TUTORIAL @zechub
Visualizing Zcash Metrics: TUTORIAL  @zechub
Uploaded October 2024 | Updated November 2026, 7 minutes ago
A tutorial showing how to view Zcash Metrics using the Zebra Node and Grafana

1.) Install Zebra with metric support

zebra.zfnd.org/user/metrics.html

`cargo install --features prometheus --git github.com/ZcashFoundation/zebra --tag v1.9.0 zebrad`


2.) Configure Zebra

If you dont have a zebrad.toml file, create one as follows:

`zebrad generate -o zebrad.toml`

Update the following settings:

mousepad ~/.config/zebrad.toml

`[metrics]
endpoint_addr = "127.0.0.1:9999"`


3.) Sync Zebra

``` bash
screen -S zebra
zebrad start
```
## Prometheus

wget github.com/ZcashFoundation/zebra/blob/main/prometheus.yaml

Move this file to a desired location and update the upcoming docker command of its location.

**file permissions on downloaded prometheus.yml are important and cause major issues with mounting this proplerly!!!** chmod 664

chmod-calculator.com

sudo docker run --detach --network host --volume prometheus-storage:/prometheus --volume /home/zkhb/Documents/Crypto/Zcash/prometheus.yaml:/etc/prometheus/prometheus.yml prom/prometheus
sudo docker run --detach --network host --env GF_SERVER_HTTP_PORT=3030 --env GF_SERVER_HTTP_ADDR=localhost --volume grafana-storage:/var/lib/grafana grafana/grafana

Now the grafana dashboard is available at http://localhost:3030

the default username and password is admin/admin, please update




4.) Helpful commands

`sudo docker container ls` list all containers
`sudo docker ps -a` list containers running
`sudo docker image ls` list all images
`sudo docker volume ls` list all volumes
`sudo docker system df -v` Displays information regarding the amount of disk space used by the Docker daemon

In Docker,

an `image` a blueprint or template containing all the necessary files and configurations to run an application, essentially a read-only snapshot of an environment
a `container` a running instance of an image, allowing you to execute the application defined within the image
a `volume` a mechanism to store persistent data outside of the container, enabling data to persist even when the container is stopped and restarted, effectively acting as a separate storage area mounted into the container's filesystem

if you need to reset the admin password for grafana, here is how you do it

`sudo docker exec -ti YOURIMAGEID grafana-cli admin reset-admin-password --homepath /var/lib/grafana YOURPW`
Visualizing Zcash Metrics: TUTORIALWho is Juan and Whats Nillion? | ProtocolBerg v2, Blockchain Week 2025Where Do ZEC Staking Rewards Come From? (Issuance vs Fees)ZecHub Updates | October 20, 2026ZecHub | Sync Meet (11/18/2025)ZecHub | Sync Meet (12/16/2025)Scanning for Zcash Nodes: TUTORIALZecHub Updates | September 15, 2026ZecHub | Sync Meet (12/02/2025)How to swap Shielded ZEC for SOL using Zashi and SolflareHow Do You Find Privacy Communities?Zcash Retroactive Funding Round | X Space
ZecHub |

Visualizing Zcash Metrics: TUTORIAL

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER