Install the C/C++ SDK on Linux
- Download the C/C++ SDK from the Downloads Portal.
- Extract the SDK to the desired SDK home directory location, such as in /optReplace
VERSION
sudo tar xvzf appdynamics-sdk-native-64bit-linux-VERSION.tar.gz -C /opt
- Update your build scripts to be able to access the Splunk AppDynamics
SDK library files:
- Add /opt/appdynamics-cpp-sdk/lib to your library path. For example, -L/opt/appdynamics-cpp-sdk/lib.
- Add
-lappdynamics
to your link options.
- Modify your program to use the Splunk AppDynamics C/C++ SDK.See C/C++ SDK Reference and Use the C/C++ SDK.
- Ensure that the
ulimit
setting for open file descriptors on the operating system is set to a sufficient number.At a minimum, you will need two file descriptors for each active thread that calls the C++ SDKappd_sdk_init()
function.