How to check the Endeca Dgraph health?

A quick way of checking the health of a Dgraph or an Agraph is by accessing the URL:

http://DgraphServerNameOrIP:DgraphPort/admin?op=ping


The Dgraph quickly returns a lightweight HTML response page with the following content:

dgraph host:port responding at date/time

The Dgraph ping is the recommended mechanism for performing automated health checks with a load balancer.

4 comments: