The purpose of CKBAnalyzer is to facilitate observation of the CKB network.
The program does several things:
- Crawl the CKB network to gather the nodes information
- Store the main-chain blocks
CKBAnalyzer is still working in progress rapidly.
CKBAnalyzer acts as a metrics agent and stores the data into Timescaldb.
We visualize data using Grafana. Our Grafana dashboards are maintained in this repository.
Download from releases.
variable | required | description |
---|---|---|
IPINFO_IO_TOKEN |
false | ipinfo.io authentication token, is used by PeerScanner to look up the geographical location by nodes' ip. |
CKB_ANALYZER_POSTGRES |
true | Postgres login key |
USAGE:
ckb-analyzer [OPTIONS] --node.rpc <URL> --node.subscription <URL>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--node.rpc <URL>
--node.subscription <URL>
--topics <TOPIC>... [default: PeerCrawler,PeerScanner] [possible values: PeerCrawler, PeerScanner]
CKB_ANALYZER_POSTGRES="postgres://postgres:postgres@localhost:5432/ckbraw" \
ckb-analyzer --node.rpc="http://127.0.0.1:8111" --node.subscription="http://127.0.0.1:18114"
License: MIT