stacks-core icon indicating copy to clipboard operation
stacks-core copied to clipboard

[RPC] prometheus monitoring for chain quality

Open jcnelson opened this issue 4 years ago • 3 comments

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).

jcnelson avatar Feb 22 '21 17:02 jcnelson

It might make more sense to run this as a separate process out of the chainstate DB.

jcnelson avatar Mar 01 '21 16:03 jcnelson

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.

stale[bot] avatar Aug 29 '21 13:08 stale[bot]

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.

stale[bot] avatar Sep 21 '22 02:09 stale[bot]

This issue has been automatically closed. Please reopen if needed.

stale[bot] avatar Oct 22 '22 20:10 stale[bot]