stacks-core
stacks-core copied to clipboard
[RPC] prometheus monitoring for chain quality
The node should keep track of the chain quality for the past XXX blocks (where XXX could be 100, 144, 500, whatever). It should report:
- how many blocks are on the canonical fork of the last XXX blocks
- how many missed sortitions there have been
- (optional) how many confirmations a block that was mined XXX sortitions ago has received
It should report this through prometheus at least, as well as through the RPC interface (possibly /v2/info, if it can be done efficiently).
It might make more sense to run this as a separate process out of the chainstate DB.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed. Please reopen if needed.