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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...