Follow these steps to set up telemetry for monitoring your Heimdall nodes on Shibarium and Puppynet.
git clone <https://github.com/shibaone/k9-matic-telemetry.git>
cd k9-matic-telemetry
mkdir -p ~/.telemetry/config
cp example.config.toml ~/.telemetry/config/config.toml
Modify the config.toml
file located at ~/.telemetry/config/config.toml
.
Update the [stats_details]
section with your node name. The secret_key
and net_stats_ip
will remain the same as provided below. Be sure to update the node
value with your specific node name.
For Shibarium network:
[stats_details]
secret_key = "heimdall_shibarium"
node = "<node-name>"
net_stats_ip = "shibarium-heimdall-ethstat.shib.io:443"
retry_delay = "250ms"
For Puppynet network:
[stats_details]
secret_key = "heimdall_puppynet"
node = "<node-name>"
net_stats_ip = "puppynet-heimdall-ethstat.shib.io:443"
retry_delay = "250ms"
Navigate to the k9-matic-telemetry
directory and run the following commands to build the telemetry binary:
go mod tidy
go build -o telemetry
mv telemetry $GOBIN
Create a systemd service file to manage the telemetry process. You can use a custom service name if needed.