Namada Monitoring is a tool designed to track and report various metrics related to the Namada blockchain. It provides insights into the blockchain's performance, validator activity, transaction statistics, and more.
- Block Height Counter: Tracks the latest block height of the Namada blockchain.
- Block Time: Tracks the time spent processing a block.
- Bonding Activity Metrics: Measures the total amount of tokens bonded and unbonded per epoch.
- Epoch Counter: Tracks the latest epoch recorded on the blockchain.
- Fees tracker: Total fees paid per block and per token.
- Peer Count: Tracks the number of active peers known to the node.
- Validator Signatures counter: Tracks the number of validators signatures in each block
- Total Supply of Native Token: Monitors the total supply of Namada's native token.
- Transaction Metrics: Tracks transaction activity, including batch sizes and transaction types per epoch.
- Transfers amounts: Tracks the total transfer amount per token and epoch.
- Voting Power Metrics: Tracks the number of validators required to reach 1/3 and 2/3 of the total voting power.
- Rust (stable and nightly toolchains)
- Docker (optional, for containerized deployment)
-
Clone the repository:
git clone https://github.com/your-repo/namada-monitoring.git cd namada-monitoring
-
Install Rust toolchains:
just devs
-
Build the project:
just build
To run the project, use the following command:
cargo run -- --rpc <vector of rpc urls>
- Build docker image
docker build -t namada/monitoring .
- Run docker image
docker run -it -p 9184:9184 --rm namada/monitoring --rpc https://rpc.namada-archive.citizenweb3.com