dkg-substrate
dkg-substrate copied to clipboard
[SPEC] Improving dkg metrics
Task summary
Currently there are not a lot of dkg specific metrics being captured, in particular regarding inbound/outbound messages. Metrics will assist in understanding issues with the node, improve visibility into operations within the node, and allow us to debug much quicker.
Potential Metrics to Capture: (spec out and consider additional metrics)
- Number of inbound messages (signed || unsigned) received
- Number of outbound message (signed || unsigned) sent
- Number of successful proposals signed
- Number of proposals sent to storage
Other information and links
We should consider using https://docs.rs/plotters/latest/plotters/ to graph data.
As an exmaple, in this branch, we're using a cargo feature to ensure that we can inspect outbound data via stdout. However, by using graphs instead of stdout, we'd have more effective understanding of the data.
https://github.com/webb-tools/dkg-substrate/pull/488 https://github.com/webb-tools/dkg-substrate/pull/450