AppDynamics Application Intelligence Platform
3.9.x Documentation
The Java Agent bootstraps using the javaagent command line option. Add this option to the cassandra (Linux) or cassandra.bat (Windows) file.
1. Open the apache-cassandra-x.x.x\bin\cassandra.bat file.
2. Add the Java Agent javaagent path to the JAVA_OPTS variable. Make sure to include the drive in the full path to the Java Agent directory.
-javaagent:<agent_home>\javaagent.jar
For example:
set JAVA_OPTS=-ea -javaagent:C:\appdynamics\agent\javaagent.jar -javaagent:"%CASSANDRA_HOME%\lib\jamm-0.2.5.jar . . . . . .
If you are a Self-Service Trial user, add the Java Agent javaagent argument to your JVM start script where <my-app-jvm1> is the name you use for the application running on that JVM.
-javaagent:<agent_home>\javaagent.jar=uniqueID=<my-app-jvm1>
3. Restart the Cassandra server. The Cassandra server must be restarted for the changes to take effect.
1. Open the apache-cassandra-x.x.x/bin/cassandra.in.sh file.
2. Add the javaagent argument at the top of the file:
JVM_OPTS=-javaagent:<agent_home>/javaagent.jar
For example:
JVM_OPTS=-javaagent:/home/software/appdynamics/agent/javaagent.jar
If you are a Self-Service Trial user, add the Java Agent javaagent argument to your JVM start script where <my-app-jvm1> is the name you use for the application running on that JVM.
-javaagent:<agent_home>/javaagent.jar=uniqueID=<my-app-jvm1>
3. Restart the Cassandra server for the changes to take effect.