Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 12-11-2017 12:46 PM - edited on 12-11-2017 12:50 PM by Jeanie.Kedia
Gradle scripts are useful to build and deploy applications. If we would like to monitor applications, we need to configure the javaagent on Gradle scripts.
Steps:
1. Edit build.gradle
2. Need to include javaagent and configuration using "applicationDefaultJvmArgs".
3. To add javaagent.....
applicationDefaultJvmArgs = ["-javaagent:/Users/narendranath/Documents/AppServerAgent-4.3.3.2/ver4.3.3.2/javaagent.jar"]
3. To add javaagent configurations dynamically , then ...
applicationDefaultJvmArgs = ["-javaagent:/Users/narendranath/Documents/AppServerAgent-4.3.3.2/ver4.3.3.2/javaagent.jar", "-Dappdynamics.agent.applicationName=NewRibbonApp", "-Dappdynamics.agent.tierName=AppTier", "-Dappdynamics.agent.nodeName=AppNode"]
_______________________________________
Do you have a question or need clarification? [Post Your Comment] Below.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form