AppDynamics switched from Semantic Versioning to Calendar Versioning starting in February 2020 for some agents and March 2020 for the entire product suite.


    Skip to end of metadata
    Go to start of metadata

    The Java Agent bootstraps using the javaagent command line option. Add this option to the cassandra (Linux) or cassandra.bat (Windows) file.

    Instrument Cassandra in a Windows Environment

    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
          . . .
      
    3. Restart the Cassandra server. The Cassandra server must be restarted for the changes to take effect.

    Instrument Cassandra in a Linux Environment

    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
    3. Restart the Cassandra server for the changes to take effect.