Diagnostics Command Reference#

Use the diagnostics tool to log resource usage on a Duckietown device and push the results to the cloud for analysis.

Syntax#

dts diagnostics run \
  -H/--machine  [ROBOT]      \   # where the tool itself runs
  -G/--group    [EXPERIMENT] \   # experiment name
  -d/--duration [SECONDS]    \   # capture length
  [OPTIONS]

Options#

Table 6 Options available to the command dts diagnostics run#

Argument

Type

Description

-H
--machine

-

Machine where the diagnostics tool will run. This can be any machine with a network connection to the target machine.

-T
--target

localhost

Machine target of the diagnostics. This is the machine about which the log is created.

--type

auto

Specify a device type (e.g., duckiebot, watchtower). Use --help to see the list of allowed values.

--app-id

-

ID of the API App used to authenticate the push to the server. Must have access to the ‘data/set’ API endpoint

--app-secret

-

Secret of the API App used to authenticate the push to the server

-D
--database

-

Name of the logging database. Must be an existing database.

-G
--group

-

Name of the experiment (e.g., new_fan)

-S
--subgroup

“default”

Name of the test within the experiment (e.g., fan_model_X)

-D
--duration

-

Length of the analysis in seconds, (-1: indefinite)

-F
--filter

“*”

Specify regexes used to filter the monitored containers

-m
--notes

“empty”

Custom notes to attach to the log

--no-pull

False

Whether we do not try to pull the diagnostics image before running the experiment

--debug

False

Run in debug mode

--vv
--verbose

False

Run in debug mode