massa icon indicating copy to clipboard operation
massa copied to clipboard

Bootstrap server dashboard.

Open Ben-PH opened this issue 2 years ago • 6 comments
trafficstars

Is your feature request related to a problem? Please describe.

Not a problem per-se, but could help monitor the useful network metrics.

Describe the solution you'd like

To be able to visit a website, where you can select from a list of bootstrap servers, or enter a node address for a specific one.

At the home-page, it can provide an overall view of known bootstrap servers (plus manually entered ones), such as total slots available, recent average slot availability, total number of nodes bootstrapped during a configured time-window, etc.

Upon selecting a server, it will take you to a dashboard where it will present useful metrics, such as average success rates, which nodes have been bootstrapped (perhaps limited to a configured duration), time-taken to bootstrap.

Additional context

Low priority at time of writing, particularly when considering the work required for mainnet.

Ben-PH avatar Jan 16 '23 11:01 Ben-PH

It would maybe make sense to handle such a thing in Thyra rather than in the massa node ? It may require works on this repo though.

It's a low priority feature anyway!

cc @gregLibert

qdrn avatar Jan 16 '23 12:01 qdrn

Yep, something cool to add to the node plugin manager. Although I don't know where most of the data identified by @Ben-PH can be retrieved...

@SlnPons :-)

gregLibert avatar Jan 16 '23 14:01 gregLibert

This idea came out of putting together #3431 . the Bootstrap server has debug outputs that would allow you to derive the bootstrap time from the log outputs. That could be extended such that it caches the times for retrieval via an API call, for example.

Ben-PH avatar Jan 16 '23 14:01 Ben-PH

This idea came out of putting together #3431 . the Bootstrap server has debug outputs that would allow you to derive the bootstrap time from the log outputs. That could be extended such that it caches the times for retrieval via an API call, for example.

Ok. Is it something existing on the client (starting node) or the server (node already up)?

gregLibert avatar Jan 16 '23 14:01 gregLibert

The way I've put it together it's on the server. Could be done client-side if it makes sense to do so.

Ben-PH avatar Jan 16 '23 14:01 Ben-PH

The way I've put it together it's on the server. Could be done client-side if it makes sense to do so.

I was just curious :-).

gregLibert avatar Jan 16 '23 14:01 gregLibert

I think that this is nearly fully covered by the metrics dashboard and can be close. @modship what do you think ?

AurelienFT avatar Sep 15 '23 09:09 AurelienFT

I think that this is nearly fully covered by the metrics dashboard and can be close. @modship what do you think ?

yes ! it can be closed

modship avatar Sep 15 '23 10:09 modship