AppD Archive

App dynamic not detecting any transactions for Grails Application..

CommunityUser
Splunk Employee
Splunk Employee

I am trying to monitor our Grails app using app dynamics. I have configured the Java agent and see below log on the server startup but unfortunately I don't see any transactions in the dashboard. Not sure what is going wrong. 

 

I have also modified the servelt naming convention to use full URI as per app dynamics documentation.

 

objc[63749]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.

Install Directory resolved to[/exp/agent/ver4.0.7.0]

[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running

[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true]

[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true]

[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [null]

[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [null]

[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [null]

[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running

[INFO]: AgentInstallManager - Agent runtime directory set to [/exp/agent/ver4.0.7.0]

[INFO]: AgentInstallManager - Agent node directory set to [Eltropys-MacBook-Pro.local]

[INFO]: JavaAgent - Using Java Agent Version [Server Agent v4.0.7.0 GA #2015-06-05_13-51-14 raa65dec1301298929166056e8a111a825c871ec4 29-4.0.7.next]

[INFO]: JavaAgent - Running IBM Java Agent [No]

[INFO]: JavaAgent - Java Agent Directory [/exp/agent/ver4.0.7.0]

[INFO]: JavaAgent - Java Agent AppAgent directory [/exp/agent/ver4.0.7.0]

[INFO]: JavaAgent - ####################################################################################

[INFO]: JavaAgent - Java Agent Directory [/exp/agent/ver4.0.7.0]

[INFO]: JavaAgent - Java Agent AppAgent directory [/exp/agent/ver4.0.7.0]

[INFO]: JavaAgent - Using Java Agent Version [Server Agent v4.0.7.0 GA #2015-06-05_13-51-14 raa65dec1301298929166056e8a111a825c871ec4 29-4.0.7.next]

[DEBUG]: JavaAgent - java.vendor=Oracle Corporation

[DEBUG]: JavaAgent - java.vendor.url=http://java.oracle.com/

[DEBUG]: JavaAgent - java.vm.version=24.75-b04

[DEBUG]: JavaAgent - appdynamics.deadlockprone.jvm=null

[INFO]: JavaAgent - All agent classes have been pre-loaded

[DEBUG]: JavaAgent - Using Java Version [JAVA_17] for AppDynamics Java Agent

[INFO]: JavaAgent - Using ASM v3.3.1

Running obfuscated agent

Started AppDynamics Java Agent Successfully.

0 Karma

Arun_Dasetty
Super Champion

Hi ,

Does the jvm is registered as agent node in controller UI ? if yes , please can you attach logs folder archive at path at /exp/agent/ver4.0.7.0/logs 

We might need to define custom pojo rules under Configure -> Instrumentation => transactions detection screen , under "custom match rules" section , click "+" icon and select pojo as option and provide class and method details that we want to see as Business transction in UI

If agent node itself does not show up in controller UI, Can you please provide application-name , tier-name and node-name in controller-info.xml at location /exp/agent/ver4.0.7.0/conf/ and restart jvm and see how it goes.

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
Thanks Arun. I managed to make it work with the grails war file. It was not
working for run app.

0 Karma
Get Updates on the Splunk Community!

Detecting Brute Force Account Takeover Fraud with Splunk

This article is the second in a three-part series exploring advanced fraud detection techniques using Splunk. ...

Buttercup Games: Further Dashboarding Techniques (Part 9)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games: Further Dashboarding Techniques (Part 8)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...