dda is a command-line tool designed for developing on the Datadog Agent platform. It provides a comprehensive set of utilities for contributors to set up development environments, build, test, and manage workflows for the Datadog Agent. The current version is 0.33.1, and it is actively maintained with frequent releases, supporting Python versions 3.12 and newer.
pip install ddaNo compatibility data collected yet for this library.
dda is primarily a command-line interface (CLI) tool. After installation, you interact with it directly from your terminal. The example commands show how to verify the installation and use some common development environment commands.
Update your scripts or muscle memory to use the new command: `dda self telemetry show log`.
Replace `dda build bazel` with `dda bzl` in your commands.
Update your configuration files and any custom `Tool` implementations to reflect the new naming and interface changes.
Adjust any scripts that parse or redirect output from `dda config show` to expect it on stdout. Be aware that outdated version errors will now appear on stderr.
Ensure `pip install dda` completed successfully. Verify your Python environment's script directory is included in your system's PATH. On Windows, this often involves reinstalling Python and ensuring 'Add Python to PATH' is checked, or manually adding the Scripts directory (e.g., `C:\Python312\Scripts`) to PATH.
Ensure you have a single, consistent 64-bit Python installation if using a 64-bit OS. Check your `PATH` and `PYTHONHOME`/`PYTHONPATH` environment variables for incorrect entries. Reinstalling Python (making sure to select 'Add Python to PATH' and installing for 'All Users') can often resolve this.
Upgrade `dda` to the latest version using `pip install --upgrade dda`.