Pocket exporter
Pocket exporter exports basic monitoring data from a Pocket node.
Quickstack
poetry install
export NODE_URL={Pocket node url} && export NODE_ADDRESS={Pocket node address}
python -m exporter
Enviroment variables
- NODE_URL - Pocket RPC url
- NODE_ADDRESS - Pocket node address
- PORT - HTTP metrics server port
- LOG_LEVEL - Logging level (default: info)
- POLLING_INTERVAL - Metrics polling interval (how often the request to node is made)
Metrics
- pocket_node_version_info - node version
- pocket_jailed - Is node jailed?
- pocket_node_status - Node's status
- pocket_info_info - Node's address,public_key,service_url
- pocket_tokens_account - Current tokens balance of the node
- pocket_account_balance - Current balance of the node
- pocket_node_pending_claims - Amount of pending claims of the node
- pocket_node_height - Height block number of node.