Splunk AppDynamics

how to disable built-in GWT detection rule / disable default pojo rules

Ugis_Springis
New Member

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

Labels (1)
0 Karma
1 Solution

Lim_Park
Explorer

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:

  • Name: framework-support
  • Type: String
  • Value: none

View solution in original post

0 Karma

Lim_Park
Explorer

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:

  • Name: framework-support
  • Type: String
  • Value: none
0 Karma

Ugis_Springis
New Member
Thanks for info, will try out.
It would be helpful to have this information in the documentation somewhere – what are individual types of auto discovery, that can be disabled in such way. I’ve lost 2-3 days trying out things before understanding came that this auto discovery is the issue.

Regards,

Ugis
0 Karma

Lim_Park
Explorer

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. 

0 Karma
Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...