The get-blackbox command generates the Dgraph's on-demand tracing blackbox file and returns the name and location of the file.
./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.
./bdd-admin.sh get-blackbox
./bdd-admin.sh get-blackbox -n web009.us.example.com