Prerequisites
Before getting started, you must have the following software installed on your instances:- Datadog Agent
- Python
NOTE When you install Datadog Agent for the first time, Python is also installed as a dependency. We recommend you use this Python in the following steps.
Prepare StarRocks source code
Since Datadog does not provide the integration kit for the database yet, you need to integrate them using the source code.-
Launch a terminal, navigate to a local directory to which you have both read and write access, and run the following command to create a dedicated directory for StarRocks source code.
-
Download the StarRocks source code package using the following command or on GitHub to the directory you created.
-
Extract the files in the package.
Install and configure FE integration kit
-
Install Datadog integration kit for FE using source code.
-
Create the FE integration configuration file /etc/datadog-agent/conf.d/starrocks_fe.d/conf.yaml.
-
Modify the FE integration configuration file /etc/datadog-agent/conf.d/starrocks_fe.d/conf.yaml.
Examples of some important configuration items:
Install and configure BE integration kit
-
Install Datadog integration kit for BE using source code.
-
Create the BE integration configuration file /etc/datadog-agent/conf.d/starrocks_be.d/conf.yaml.
-
Modify the BE integration configuration file /etc/datadog-agent/conf.d/starrocks_be.d/conf.yaml.
Examples of some important configuration items:
Restart Datadog Agent
Restart Datadog Agent to allow the configuration to take effect.Verify integration
For instructions to verify the integration, see Datadog Application.Uninstall integration kits
You can uninstall the integration kits when you no longer need them.-
To uninstall FE integration kit, run the following command:
-
To uninstall BE integration kit, run the following command: