cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to setting sensor rules with the same method name in different class?

charley_li
Contributor

Hello everyone,

I have a question is: If my classname is like below:

MyPackage.ClassA.MethodSelect()
MyPackage.ClassB.MethodSelect()
MyPackage.ClassC.MethodSelect()

I want to capture the method named "MethodSelect".
Can I set as the image shows?

I've tried this way but it seems not working. I'm not sure if I made the right settings?


If possible, I don't want to set the rules such as below. Because I have 100+ class in my real environment.


Thanks for the response!


2 REPLIES 2

It is possible in AppMon to make such rules. But you should add * after for as I remember. After creating rule, placing it on agent group and restarting process/hot sensor placement, go to Agent Overview. Pick there agent you want to check. On bottom part of dash let with details, you will be able to check deployed sensor (switch tab). Check if you see there your method and classes. If yes, they should work.

Sebastian


Got it! Many Thanks for your help!