Skip to main content

Monitoring Your Node

Dashboard Status

The easiest way to check your node's status is the Priva dashboard. The My Node section shows:

  • Status — Online / Offline / Syncing
  • Uptime % — calculated over the last 30 days
  • Peer count — number of connected P2P peers
  • Current tier — Standard / Advanced / Elite
  • Earning rate — PRIVA/day at current uptime

Docker Logs

# Live logs
docker compose logs -f

# Last 50 lines
docker compose logs --tail=50 node

# Logs since last hour
docker compose logs --since=1h node

Normal startup output looks like:

[INFO] Priva node-client starting...
[INFO] Loading keystore from /home/privanet/data/keystore.json
[INFO] Node identity: 12D3KooW...
[INFO] Listening on /ip4/0.0.0.0/udp/8336/quic-v1
[INFO] Connecting to bootstrap peers...
[INFO] Connected to 8 peers
[INFO] Registered with API: node online

Prometheus Metrics

The node exposes Prometheus metrics on port 9090 (internal only).

Access via SSH tunnel

ssh -L 9090:localhost:9090 user@your-server-ip

Then open http://localhost:9090/metrics in your browser.

Key metrics

MetricDescription
privanet_peers_totalCurrent connected peer count
privanet_uptime_secondsNode uptime since last start
privanet_blocks_processedNetwork blocks processed
privanet_rewards_pvnt_totalAccumulated PRIVA rewards
go_memstats_alloc_bytesMemory usage

Grafana dashboard (optional)

If you run Grafana + Prometheus on your server, import the Priva dashboard from the community Grafana hub (search "Priva").


System Resource Monitoring

# Container resource usage
docker stats privanet-node-1

# Check if container is healthy
docker inspect --format='{{.State.Health.Status}}' privanet-node-1

# Disk usage by the data directory
du -sh /opt/privanet/data/

Uptime Monitoring

For maximum rewards, your node should maintain >95% uptime. Consider using a service like:

  • UptimeRobot (free) — monitors your IP:port, sends alerts if the node goes down
  • Betterstack — more detailed monitoring with on-call alerting
  • Healthchecks.io — cron-style heartbeat monitoring

Configure monitoring on your-server-ip:8336 with TCP check type.


Auto-restart on Failure

Docker Compose's restart: unless-stopped ensures the node restarts automatically after crashes or server reboots. Verify:

docker inspect privanet-node-1 | grep RestartPolicy
# Should show: "Name": "unless-stopped"

To ensure Docker itself starts on boot:

sudo systemctl enable docker