AnsweredAssumed Answered

Instrumenting an inherited class with both private and implemented methods

Question asked by phrodon on Oct 30, 2015
Latest reply on Nov 3, 2015 by phrodon

I have an issue with instrumented a class that has an inherited method and has private methods of its own. Either I can get the inherited method working OR the private methods but not both.So if I have abstract ClassA and ClassB extends ClassA and uses inherited method one. ClassB also has methods two, three and four.

 

Abstract ClassA

one()

ClassB() - extends ClassA

one()

two()

three()

four()

 

For example, if I use something like

 

TraceOneMethodIfInherits: ClassA one BackendMarker

TraceOneMethodOfClass: ClassB two BackendMarker

TraceOneMethodOfClass: ClassB thee BackendMarker

TraceOneMethodOfClass: ClassB four BackendMarker

 

No matter what directives I use, I can only see metrics for method one() in ClassB or methods two(), three() and four() in ClassB. But not all 4 methods in ClassB.

 

Thanks,

 

Mike

Outcomes