dkg-substrate icon indicating copy to clipboard operation
dkg-substrate copied to clipboard

[SPEC] Improving dkg metrics

Open dutterbutter opened this issue 2 years ago • 1 comments

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

dutterbutter avatar Mar 25 '22 22:03 dutterbutter

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.

tbraun96 avatar May 02 '22 19:05 tbraun96

https://github.com/webb-tools/dkg-substrate/pull/488 https://github.com/webb-tools/dkg-substrate/pull/450

1xstj avatar Mar 07 '23 06:03 1xstj