712 B
712 B
⚠️ UNMAINTAINED: We're no longer using the code - feel free to fork it and take over maintenance.
ton_cpp_exporter
node_exporter textfile collector for the TON C++ node implementation.
Example queries
Is the node or chain stuck?
rate(ton_masterchainblocktime[5m]) < 0.8
Is the node behind?
ton_unixtime - ton_masterchainblocktime > 60
Did we vote in the current election?
(ton_election_active_id > bool 0) and on (instance) (ton_election_participated == 0)
Is one of our validators in the active set?
sum by (instance) (ton_validator_is_active) != 1