OS Manuals

/opt/datadog-agent/embedded/bin/ddtrace-run

From datadog-agent-7.78-core-integrations 7.78.4-r4 (os), captured 2026-11-05 by running ddtrace-run --help (exit 0). permalink

usage: ddtrace-run <your usual python command>

Execute the given Python command after configuring it to emit Datadog traces
and profiles.

Examples
ddtrace-run python app.py
ddtrace-run gunicorn myproject.wsgi

positional arguments:
  command           Command string to execute.

options:
  -h, --help        show this help message and exit
  -d, --debug       enable debug mode (disabled by default)
  -i, --info        print library info useful for debugging. Only reflects configurations made via environment variables, not those made in code.
  -p, --profiling   enable profiling (disabled by default)
  -v, --version     show program's version number and exit
  -nc, --colorless  print output of command without color
Options (6)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-d, --debugenable debug mode (disabled by default)help
-i, --infoprint library info useful for debugging.help
-p, --profilingenable profiling (disabled by default)help
-v, --versionshow program's version number and exithelp
-nc, --colorlessprint output of command without colorhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.