vegaprotocol / data-node

A rich API server for Vega Protocol
https://vega.xyz
Other
3 stars 1 forks source link

Add network statistics back in to APIs #149

Closed edd closed 2 years ago

edd commented 3 years ago

WIP ticket. tldr: Console relies on fields that were in the statistics endpoint to do a few things:

For now I'm just disabling those panels, but some of them are useful enough that we should bring them back. However, the statistics endpoint was a bit of a catch all endpoint, so we can come up with a better GraphQL structure than we did last time.

https://github.com/vegaprotocol/console/pull/6433 is a PR in console that removes the dependence on the statistics that used to be in core, but to get back some of the functionality this disables we want some fields back.

Fields that should come back / be added

Version info

Versions rationale: We display these in the client, and they have been useful for checking details with users. As we were connected to core, the core node version and tendermint version made sense, I don't mind being told they don't any more.

Block info

Rationale: vegaTime is useful as it is the one absolute we can show people in relation ot their own time

Untouched details to be filled in:

gordsport commented 2 years ago

Closing as this is present