The purpose of CKBAnalyzer is to facilitate observation of the CKB network.
CKBAnalyzer acts as a metrics agent and stores the data into Timescaledb, then visualize using Grafana.
Visit the online dashboards at [https://ckbmonitor.bit.host/], and you can use the maintained dashboards.
$ cp docker/.env.example docker/.env
$ docker-compose -f docker/docker-compose.yaml up -d
$ source docker/.env && psql "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@127.0.0.1:${POSTGRES_PORT:-"5432"}" -f src/schema.sql
Download from releases.
Mostly environment variables are declared inside docker/.env.example
. You can specify an environment file with --envfile
.
ckb-analyzer \
--node.rpc="http://127.0.0.1:8111" \
--node.subscription="127.0.0.1:18114" \
--envfile docker/.env
License: MIT