Answer by Andreas G. ·
I had a look at your session. Something is a little odd here. You have sensors for both get_InnserXml and set_InnerXml. It makes sense that set_InnerXml would capture the XML as shown in your PurePath - but not get_InnerXml as get_InnerXml has no method arguments but just a return value. Thats also why the Measures probably dont work.
I think this could be a bug in dynaTrace. I have a couple of suggestions
#1: open a ticket as our engineering team should look into this
#2: remove the get_InnerXml Sensors and just try the set_InnerXml. If set_InnerXml then shows up on the PP try creating a measure for that method and use the first method argument in the same way as you did it for get_InnserXml. The only thing you may want to change is the "Evaluation" option -> put it to Occurence as you want to know whether it occurs that the string value matches the value you have entered
The other option you have is to not capture the XML using the InnerXml method - but - instead capture it from the HTTP Post Parameter. I assume that this XML Body gets posted to the URL. You can adapt your ASP.NET Sensor Rules and capture the HTTP Parameter. Then you can use the HTTP Parameter Measure and create the same BT
Hope this helps
Thanks Andreas for so quick reply on this. Let me try these options in our test environment, will get back to you with results.
Thanks,
Santosh Lamkhade
Answer by Santosh L. ·
Hello Andreas,
Thanks for your assistance on this. I have attached PurePath export.
We already configured sensor for this method and capture method argument from there. The purepath actually captures the runtime argument values if you see above screen print.
Thanks,
Santosh Lamkhade
Answer by Andreas G. ·
Sorry for the late reply - must have missed this post.
get_InnerXml() is a "getter" method which should only return a value. I am a bit confused about the method argument as I cant see an argument for that method call. Could you export a PurePath and attach it to this post?
The problem with your approach that I see is that you always have to capture a rather long XML String where you only need a small portion of it. So - instead of creating a measure that checks whether a rather large string contains a certain value I would go a different route. I assume that value for "manuscript" is later on passed as a "real" method argument to a .NET Method. If that is the case I would create a sensor for that method and capture the method argument from there.
For now - please attach a PurePath to this post and I will have a look at this
Answer by Santosh L. ·
I have created a business transaction and want to group by argument value of a method.
We are always getting this purepath (/DuckCreek/AllstateDCTServer.aspx) and every purepath invokes method get_InnerXml().
This method returns with argument value which contain following four string values
<ManuScriptBroker.listRq>
Allstate_DirectingManuScript
ManuScript ..." field="data.RateVersionCall"
ManuScript...field="data.IFSScoreCall"
I need groupings on how many times get_InnerXml() called with above argument string values.
The screenprint which show purepath,method and argument value as given below
I already configured sensor for the class and for get_InnerXml() method. Also created measure on argument value. if I add filter filtering by the these argument value I don't see any results.
Please see the screen print for one of the argument value measure and filtered business transaction.
Could you please suggest...
DECEMBER 12, 10:00 AM GMT / 2:00 PM ET
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here