The get-stats command obtains Dgraph statistics.
./bdd-admin.sh get-stats [option <arg>] <dest>Where <dest> is the absolute path to the directory the script will output the requested statistics to. When the script completes, this location will contain a file named <hostname>-<timestamp>-dgraph-stats.xml.
get-stats supports the following options.
Option | Description |
---|---|
-c, --component <component(s)> | A comma-separated list of the
components to run on:
|
-n, --node <hostname(s)> | A comma-separated list of the nodes to run on. Each must be defined in $BDD_HOME/BDD_manager/conf/bdd.conf. |
If no options are specified, the script obtains the statistics for all Dgraph instances in the cluster.
For more information on Dgraph statistics, see Dgraph statistics.
./bdd-admin.sh get-stats /tmp
./bdd-admin.sh get-stats -n web009.us.example.com /tmp