Introduction
Proper monitoring ensures your Fenine node runs reliably and helps you detect issues before they become critical. This guide covers monitoring setup using industry-standard tools.Recommended Stack: Prometheus + Grafana + Node Exporter
Metrics to Monitor
Critical Metrics
Node Health
Node Health
- Sync Status: Node is fully synchronized
- Peer Count: Connected to 20+ peers
- Block Height: Matches network head
- Chain Forks: No unexpected reorgs
- Peers < 5: Warning
- Peers < 2: Critical
- Sync lag > 50 blocks: Warning
- Sync lag > 200 blocks: Critical
System Resources
System Resources
- CPU Usage: Should stay < 80%
- Memory Usage: Should stay < 85%
- Disk Usage: Alert at 80% full
- Disk I/O: Monitor for bottlenecks
- Network Bandwidth: Track usage trends
- CPU > 90% for 5min: Warning
- Memory > 95%: Critical
- Disk > 90%: Critical
- Disk I/O wait > 50%: Warning
RPC Performance
RPC Performance
- Request Rate: Requests per second
- Response Time: p50, p95, p99 latency
- Error Rate: Failed requests
- Concurrent Connections: Active clients
- Response time p95 > 1s: Warning
- Error rate > 5%: Warning
- Error rate > 10%: Critical
Network Activity
Network Activity
- Block Production: New blocks every 3s
- Transaction Pool: Pending tx count
- Gas Price: Current base fee
- Validator Set: Active validators
- No new block > 15s: Warning
- No new block > 30s: Critical
- Mempool > 10,000 tx: Warning
Prometheus Setup
Install Prometheus
Configure Prometheus
Create/etc/prometheus/prometheus.yml:
Enable Metrics in Fene-Geth
Update/var/lib/fenine/config.toml:
--metrics --metrics.addr 0.0.0.0 --metrics.port 6060 to ExecStart:
Create Prometheus Service
http://YOUR_IP:9090
Node Exporter Setup
Install system metrics exporter:Grafana Setup
Install Grafana
http://YOUR_IP:3000 (default login: admin/admin)
Add Prometheus Data Source
- Navigate to Configuration → Data Sources
- Click Add data source
- Select Prometheus
- Set URL to
http://localhost:9090 - Click Save & Test
Import Fenine Dashboard
Download dashboard JSON:- Click + → Import
- Upload
fenine-node.json - Select Prometheus data source
- Click Import
Official Fenine dashboard includes: Sync status, peer count, block height, gas usage, TPS, memory/CPU, disk I/O
Alerting Setup
Configure Alertmanager
Install Alertmanager:/etc/alertmanager/alertmanager.yml:
Define Alert Rules
Create/etc/prometheus/alerts.yml:
Log Monitoring
Centralized Logging with Loki
Install Loki:Install Promtail (Log Shipper)
Quick Health Check Script
Create/usr/local/bin/fenine-health.sh:
Automated Monitoring Cron
Add to crontab:Next Steps
Upgrade Guide
Keep your node up to date
Backup & Recovery
Protect your node data
Troubleshooting
Fix common issues
Grafana Dashboards
Official monitoring templates