community-repo icon indicating copy to clipboard operation
community-repo copied to clipboard

Idea: UI to show query nodes

Open mochet opened this issue 3 years ago • 2 comments

Query Nodes are essential to the platform, it would be good to have a way to see how each QN is running (such as information concerning the latest block it has processed)

I'm not sure of the best method to check this, I have created an issue here to explore it: https://github.com/Joystream/joystream/issues/3271

mochet avatar Feb 19 '22 19:02 mochet

https://joystreamstats.live/storage

QN Test

can become more sophisticated by comparing returned data and detecting setup issues (#3271) incomplete syncs or even chain splits later. related: #641

traumschule avatar Feb 20 '22 01:02 traumschule

It is possible to get the status of a query node by running the following

subscription
	{stateSubscription
    	{lastCompleteBlock,lastProcessedEvent,indexerHead,chainHead}
  }

This only works on the official Joystream QN (https://query.joystream.org/graphql) but no others, so maybe has to be activated. But it seems like a viable way to keep track of which Query Nodes are working and which aren't.

mochet avatar Jun 12 '22 12:06 mochet