Nodes Guide
Monitoring
Learn how to run Grafana dashboards and various Exporters
Prerequisites
You have completed Namada Fullnode or Validator
Set environment variables
open .env
file with your editor and set your desired variables. don't forget to uncomment the commented variables
nano .env
Set Grafana variables
GF_PORT
set a valid, non-busy port - default is 23000GF_SECURITY_ADMIN_USER
set initial Grafana admin username - only has effect the first time you start the grafana containerGF_SECURITY_ADMIN_PASSWORD
set initial Grafana admin password - only has effect the first time you start the grafana container Set Namada-Exporter variables.NAMADA_EXPORTER_VAL_ADDR
your validator public address starting with tnamNAMADA_EXPORTER_HTTP_RPC
keep this as default, unless your want to connect to a remote node
you should stop, then start your container everytime you change an environment variable (restart will not reflect the changes)
You don't have to open above ports on the firewall. just exposing them is enough to be accessible from outside world
Run Monitoring containers
You are ready to run your monitoring stack in the background.
docker compose --profile monitoring up -d
Check node logs.
docker compose --profile monitoring logs -f
Open Grafana
now you can connect to your Grafana app at http://<server-ip>:<GF_PORT>