- CPU: 4 cores, 2 GHz
- RAM: 8 GB
- Storage: 100 GB fast SSD
- Network: 100 MBit/s
./scripts/setup.sh
After 20~30 minutes:
curl http://127.0.0.1:10000/metrics
---
node_settings:
# UDP port, used for ADNL node. Default: 30303
adnl_port: 30000
# Root directory for the node DB. Default: "./db"
db_path: "/var/db/everscale-monitoring"
# Manual rocksdb memory options (will be computed from the
# available memory if not specified).
db_options:
rocksdb_lru_capacity: "512 MB"
cells_cache_size: "4 GB"
# # Persistent state prepare options (disabled by default)
# persistent_state_options:
# prepare_persistent_states: true
# persistent_state_parallelism: 3
# remove_old_states: true
# Everscale specific network settings
adnl_options:
use_loopback_for_neighbours: true
force_use_priority_channels: true
rldp_options:
force_compression: true
overlay_shard_options:
force_compression: true
metrics_settings:
# Listen address of metrics. Used by the client to gather prometheus metrics.
# Default: "127.0.0.1:10000"
listen_address: "0.0.0.0:10000"
# URL path to the metrics. Default: "/"
# Example: `curl http://127.0.0.1:10000/metrics`
metrics_path: "/metrics"
# Metrics update interval in seconds. Default: 10
collection_interval_sec: 10
-
Download
IP2LOCATION-LITE-ASN.CSV
andIP2LOCATION-LITE-DB11.CSV
-
Import databases:
geoip-resolver import \ --db /var/db/geodb \ --asn IP2LOCATION-LITE-ASN.CSV \ --locations IP2LOCATION-LITE-DB11.CSV
-
Search nodes:
geoip-resolver resolve nodes.txt \ --db /var/db/geodb \ -g /etc/everscale-monitoring/ton-global.config.json