oldcryptogeek / dotexporter

polkadot/substrate metrics exporter from rpc calls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE: the dotexporter has been superseded by the native prometheus/substrate prometheus endpoints. for more information checkout https://substrate.dev/docs/en/tutorials/visualize-node-metrics/

dotexporter

simple prometheus exporter to expose metrics like block head from rpc of a substrate or polkadot node.

metrics that are currently made available:

dot_chain_block_number{name="parity-polkadot",version="0.6.0",chain="Kusama CC1",build="0.6.0-d2dac086-x86_64-linux-gnu",block="finalized"} 349301
dot_chain_block_number{name="parity-polkadot",version="0.6.0",chain="Kusama CC1",build="0.6.0-d2dac086-x86_64-linux-gnu",block="head"} 360528
dot_peer_count{name="parity-polkadot",version="0.6.0",chain="Kusama CC1",build="0.6.0-d2dac086-x86_64-linux-gnu"} 25
dot_shouldHavePeers{name="parity-polkadot",version="0.6.0",chain="Kusama CC1",build="0.6.0-d2dac086-x86_64-linux-gnu"} 1
dot_isSyncing{name="parity-polkadot",version="0.6.0",chain="Kusama CC1",build="0.6.0-d2dac086-x86_64-linux-gnu"} 0
dot_specVersion{name="parity-polkadot",version="0.6.0",chain="Kusama CC1",build="0.6.0-d2dac086-x86_64-linux-gnu"} 1001
dot_rpc_healthy{name="parity-polkadot",version="0.6.0",chain="Kusama CC1",build="0.6.0-d2dac086-x86_64-linux-gnu"} 1

About

polkadot/substrate metrics exporter from rpc calls

License:GNU General Public License v3.0


Languages

Language:Python 100.0%