What can I do if I want to know the status of the node running?Is there anything ? I looking for a long time in your document,I so sorry I can find one can fix that. I don’t know how to manager distributed cluster.if some of the server is stop,how to know it.
MichelDiz (Michel Conrado (Support Engineer)) #2
You have “/state” endpoint
Information about the nodes that are part of the cluster. Also contains information about size of predicates and groups they belong to.
And any Dgraph’s instance you have “/health” endpoint
/healthreturns HTTP status code 200 and an “OK” message if the worker is running, HTTP 503 otherwise.
wow，thank you so much.