Deploy on Host¶
Install DataKit Agent¶
Before performing link data analysis for systems and applications, you need to deploy Guance DataKit collector on each target host to collect necessary link data.
Add the command DK_APM_INSTRUMENTATION_ENABLED=host
before the installation instructions to enable APM auto-injection.
If DataKit is already installed, you only need to upgrade it. Use the following command for the upgrade operation.
DK_APM_INSTRUMENTATION_ENABLED=host DK_DEF_INPUTS="ddtrace" DK_UPGRADE=1 bash -c "$(curl -L https://static.guance.com/datakit/install.sh)"
Verification¶
Run the following command to verify. If the value of instrumentation_enabled
is empty, you need to manually set it to host
:
Then restart DataKit:
Restart Application¶
After installation, restart the application. The following is an example of restarting a Java application: