Environment Variables¶
Environment variables are a convenient configuration method that allow you to remotely adjust DataKit's data collection settings on the platform. Depending on different application environments, you can flexibly modify DataKit's behavior. DataKit will automatically synchronize the latest environment variables and optimize its data collection strategy accordingly, simplifying the configuration process.
Adding Variables¶
- Define the variable name;
- Enter the corresponding variable value;
- Add a description as needed;
- Click save to successfully add the variable.
Note:
- Variable names cannot be duplicated;
- Variable names and values cannot be empty;
- Variable names and values can only consist of underscores and letters.
Managing Variables¶
After creating variables, you can view them in the Manage > Environment Variables list page. You can also perform the following operations on this page:
- Edit: Update the name and description of existing variables;
- Delete: Remove the current variable;
- Search: Enter a label name in the search box to quickly locate variables;
- Click the button in the top right corner of the page to choose to export/import JSON variable configurations.