The node status?


#1

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.


(Michel Conrado) #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.

https://docs.dgraph.io/deploy/#more-about-dgraph-zero

And any Dgraph’s instance you have “/health” endpoint

  • /health returns HTTP status code 200 and an “OK” message if the worker is running, HTTP 503 otherwise.

https://docs.dgraph.io/deploy/#more-about-dgraph

Cheers.


#3

wow,thank you so much.


(system) closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.