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
08-17-2017 05:39 AM
Hi,
I'm having trouble overriding default transaction detection rule in GWT application.
We want the transactions to be detected by custom rule further downstream, but transactions keep beeing detected and intercepted at GWT RPC level by some default rule - from agen log:
INFO POJORuleApplier - [CustomMatchPointDefinition{businessTransactionName='GWT', matchPointRule=POJOMatchRule{matchClassType=MATCHES_CLASS, classMatch=SM{ex_type=EQUALS, ex_pattern='com.google.gwt.user.server.rpc.RPC', type=EQUALS, pattern='com.google.gwt.user.server.rpc.RPC'}, methodMatch=[SM{ex_type=EQUALS, ex_pattern='invokeAndEncodeResponse', type=EQUALS, pattern='invokeAndEncodeResponse'}],, splitOperationType=0, splitOperation='null', excludes=null, backgroundTask=false, displayName='GWT', splitConfig=[com.singularity.ee.controller.api.dto.transactionmonitor.transactiondefinition.pojo.SplitConfig@1bfef486],[com.singularity.ee.controller.api.dto.transactionmonitor.transactiondefinition.pojo.SplitConfig@8b4eb664],, hashCode=null}, entryPointType=POJO, background=false, enabled=false, attachedEntity=null, agentType=APP_AGENT, matchRuleString='null'},
I've tried to setup custom pojo rules with high priority, but to no result.
Any suggestions?
regards,
Ugis
Solved! Go to Solution.
08-17-2017 08:42 PM
Hi Ugis,
GWT is one of few frameworks that have POJO auto-discovery out-of-the-box. In order to disable it, add below element inside <bci-processing-excludes> in app-agent-config.xml file.
<custom-exclude filter-type="EQUALS" filter-value="com.google.gwt.user.server.rpc.RPC"/>
If you want to disable all of these frameworks that pick up POJO OOTB, then you can set/create following node property:
08-18-2017 01:25 AM
08-18-2017 08:21 AM
Hi Ugis,
Yes, I agree and also my opinion that this could be better documented. There were internal requests previously regarding this, but does not seem like it has been fully followed through. I'll look to follow up internally again.
Appreciate it and sorry you had to spend some additional cycles due to this.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form