get-blackbox

The get-blackbox command generates the Dgraph's on-demand tracing blackbox file and returns the name and location of the file.

Note: This command is intended for use by Oracle Support.
To generate the Dgraph blackbox file, run the following from the Admin Server:
./bdd-admin.sh get-blackbox [option <arg>]

get-blackbox supports the following options.

Option Description
-n, --node <hostname(s)> A comma-separated list of the nodes the script will run on. Each must be defined in bdd.conf.

If no options are specified, the script generates blackbox files for all Dgraph nodes in the cluster.

Examples

The following command generates blackbox files for all Dgraph nodes:
./bdd-admin.sh get-blackbox
The following generates a blackbox file for the Dgraph running on the web009.us.example.com node:
./bdd-admin.sh get-blackbox -n web009.us.example.com