I am trying to create a method invocation measure for a business transaction but it does not seem to be acting as intended, or I am misunderstanding the process.
If I want to create a measure and specify a pattern manually, I go to create measure>transaction based measures>method>invocation. To identify a specific method I must check the box for Manually specify matching pattern then I can browse for the class and method and select it. If I uncheck that box it will it removes all the information entered.
However, if I select a method from diagnose performance>methods/purepaths and choose create measure>invocation it already has that data filled in for me but is grayed out.
If I save the measure after it is filled out and then edit the measure it shows the filled in information, however, manually specify matching pattern is unchecked. They appear to be working as if it is checked but I was unsure since the setup is different. When the measure is manually created the box is checked. Does the measure act differently if the box is checked versus unchecked? It seems that realistically these should both be checked to work as intended.
Answer by Graeme W. ·
Jared,
The "normal" way to specify a method in a measure definition is either to use the class browser to the right of the class field – the light-bulb icon – or to right-click on a method somewhere else in Dynatrace (as you did in the PurePath dashboard) and go from there. Either technique eliminates the possibility of a typo. And in either case, the class and method fields are not editable to avoid the possibility of a typo after the fact, as well.
The "Manually specify matching patterns" might also be called "let me edit these fields myself". This can be convenient if you're grabbing the class / method name from somewhere else (such as a log or your IDE) or you want to do something more complicated than choose a single method, such method names containing chicken. With this power, however, comes the responsibility to make sure that the class and method names / patterns are correct.
The checkbox has absolutely no effect on the operation of the measure – just on your ability to edit those fields – and the possibility of typos.
-- Graeme
JANUARY 15, 3:00 PM GMT / 10:00 AM ET