Skip to main content
Telemetry dashboards for monitoring node status in real time.

Mainnet

Amoy testnet


Setting up Heimdall telemetry

Step 1: Clone the repository

git clone https://github.com/vitwit/matic-telemetry.git

Step 2: Configure the telemetry directory

cd matic-telemetry
mkdir -p ~/.telemetry/config
cp example.config.toml ~/.telemetry/config/config.toml

Step 3: Modify the configuration file

sudo nano ~/.telemetry/config/config.toml
Set the following values:
[stats_details]
secret_key = ""
node = "<node-name>"
net_stats_ip = "heimdall-amoy.vitwit.com:3000"
FieldMainnet valueAmoy testnet value
secret_keyheimdall_mainnetamoy-testnet

Step 4: Build and deploy telemetry

go mod tidy
go build -o telemetry
mv telemetry /usr/bin

Step 5: Create the telemetry service

echo "[Unit]
Description=Telemetry
After=network-online.target

[Service]
User=$USER
ExecStart=$(which telemetry)
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target" | sudo tee "/lib/systemd/system/telemetry.service"

Step 6: Enable and start the service

sudo systemctl enable telemetry.service
sudo systemctl start telemetry.service

Step 7: Verify logs

journalctl -u telemetry -f

Setting up Bor telemetry

Step 1: Open the Bor configuration file

vi /var/lib/bor/config.toml

Step 2: Modify the ethstats flag

ethstats = "<name>:<network>@<url>:3000"
NetworkValue
Mainnet<name>:mainnet@bor-mainnet.vitwit.com:3000
Amoy testnet<name>:amoy-testnet@bor-amoy.vitwit.com:3000

Step 3: Restart Bor

sudo systemctl restart bor