AppD Archive

Need to monitor methods having the same name, same package name but different class names

CommunityUser
Splunk Employee
Splunk Employee

In our application we need to monitor methods having the same name, same package name but different class names . For example the following two class/ method names -

  1. Class name: com.pack.abc.Class1          Method name: search()
  2. Class name: com.pack.abc.Class2          Method name: search()

I know in introscope you can monitor with com.pack.abc(.*) . Is there any way I can monitor such cases with the same information point in AppDynamics. Is there some wildcard I could use for monitoring these methods or is there any other option for the same?

Thanks.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

To configure same method from multiple classes, you can try following option.

----------------------------------------------------------------------------------------

Match Classes*  --> with class name that  

Select next option as

is in the list --->  com.pack.abc.Class1,com.pack.abc.Class2  

Next option 

Method Name*  --> Equals  

values Search

------------------------------------------------

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I was trying to configure the classes with information points. In Information points, if I choose

Match Classes --> with a class name that, I only see the equals option there is no option in the list.

Are you suggesting to configure with something else other than information points?

Thanks.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I provided information for POJO or .net class instrumentation.


But you can use the same approach for information point, in class name give  all the classes with comma separated.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thank you for the input. But in this approach I need to know the complete package/class name. However I know only the package name and not the class name. I need to monitor every class in any particular package. Is there anyway I could replace the class name with a wildcard rather than a comma seperated list?

Thanks.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...