community-repo
community-repo copied to clipboard
Idea: UI to show query nodes
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
https://joystreamstats.live/storage
can become more sophisticated by comparing returned data and detecting setup issues (#3271) incomplete syncs or even chain splits later. related: #641
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.