phrodon

ConditionallyTraceOneMethodWithLabelOfClass help implementing

Discussion created by phrodon on Sep 5, 2017
Latest reply on Sep 13, 2017 by Hallett_German

The expected syntax is "ConditionallyTraceOneMethodWithLabelOfClass: <class-name> <method> <label> <Tracer-name> <Tracer-group> <Resource-Metric> <calling-class> <calling-method>".

 

This directive is a little confusing. It contains both the class-name and the tracer-group. If it contains the tracer-group, the class-name is not usually supplied (included in the IdentifyClassAs directive). Also, the directive would be IfFlagged. But, if you include the class-name, there should be no tracer-group. This directive does not follow the normal convention/syntax.

 

With both class-name and tracer-group required, do we have to duplicate the class-name and use an IdentifyClassAs directive to get a  tracer group?

 

Either way, we cannot get this metric to work without an error. Can someone provide a working example.

 

Thanks,

 

Mike

 

directive

Outcomes