stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

[signer] Add a metrics to the signers to aid in health checks #5105

Closed jferrant closed 2 months ago

jferrant commented 2 months ago

Signers would like to be able to assess whether their binary is correctly processing block proposals with ease. Add metrics to a registered signer to make this easy. Suggested metrics:

nmb_blocks_processed nmb_blocks_rejected nmb_blocks_signed

jferrant commented 2 months ago

This is already done via the prometheus metrics:

See stacks_signer_block_proposals_received and stacks_signer_block_responses_sent which also contains a response_type of either accepted or rejected

blockstack-devops commented 3 weeks ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.