Kwil and TSN metrics #133
Replies: 1 comment 2 replies
-
Unfortunately, Kwil doesn't really have any metrics information, however it is clear how one could be built. Similar to other blockchain networks, Kwil nodes doesn't actually index metrics information on the node; this is a non-trivial task, and usually requires a separate server to serve as a block explorer. Since Kwil is built on CometBFT, a lot of this data (such as validators, txs, block info, etc.) can be accessed via the CometBFT RPC. This is configured to localhost:26657 by default, but can be changed: https://docs.kwil.com/docs/daemon/config/settings/#chain. To actually query the RPC, you can simply use curl. We have a few examples in our Wiki: https://github.com/kwilteam/kwil-db/wiki/Node-Recovery#using-cometbft-inspect. Our options seems to be:
I will also ask around the CometBFT community to see if there are any known tools that perform indexing on CometBFT data. |
Beta Was this translation helpful? Give feedback.
-
@brennanjl @KwilLuke for marketing purposes we would like to display TSN real metrics. What are the current capabilities of Kwil to provide network metrics (what are the metrics, what's the API)?
Beta Was this translation helpful? Give feedback.
All reactions