You can use the
bdd-admin script's diagnostics commands to perform such
operations as checking the status of your cluster and retrieving component log
files.
get-blackbox
The get-blackbox command generates the Dgraph's on-demand tracing blackbox file and returns the name and location of the file.
status
The status command checks component statuses and the overall health of the BDD cluster.
get-stats
The get-stats command obtains Dgraph statistics.
reset-stats
The reset-stats command resets the Dgraph statistics.
get-log-levels
The get-log-levels command returns the list of component logs and their current levels.
set-log-levels
The set-log-levels command sets component log levels and updates their configuration files so that the changes persist when the components are restarted.
get-logs
The get-logs command collects requested log files and compresses them to a single zip file.
rotate-logs
The rotate-logs command rotates component logs.