incorrect-captured-hit.pngHi Team,
We have created a business transaction based on method argument in which first parameter of the argument is IP and second is port.We need to create BT which gives us count of transactions on that particular IP and port.
Let us consider one scenario in which we created two measures based on method argument value :
Method name : getProccessSocket()
First method argument : xxx.xx.81.246 (measure 1)
Second method argument : 5165 (measure 2)
So the business transaction made by adding measure 1 and measure 2 with logically AND condition should be capable of capturing all hits having method getProccessSocket() invoked with IP xxx.xx.81.246 and port 5165.
Also note that method getProccessSocket() is occurring multiple times in a single pure path with different IPs and ports. Hence the above mentioned BT is also capturing incorrect data with method getProccessSocket() having IP xxx.xx.81.246 and port 5161 in its first occurrence and IP xxx.xx.81.179 and port 5165 in its second occurrence in same pure path.
The above mentioned BT works properly when method getProccessSocket() invoked with only once per pure path. If getProccessSocket() invoked multiple times in a single pure path then BT captures all hits with different IP and port combination.
Please suggest us to resolve the problem.
Kindly find below snap of incorrectly captured hit.
Answer by Harish P. ·
Hi @Babar Q.
Thanks for your valuable inputs.
Please find below snap which contains method getproccessSocket() occurring twice in a single pure path. First occurrence contains IP xxx.xx.153.132 and port 4001 whereas second occurrence contains IP xxx.xx.81.246 and port 5165. If we create BT with 'Only analyses first occurrence per pure path' then it will check only first occurrence whereas the required IP and port comes in a second occurrence.purepath-with-two-ip-port.png
Answer by Babar Q. ·
Hello @Harish P.
Did you try with the checkbox 'Only analyze first method occurrence per PurePath' in the business transaction?
Regards,
Babar
Answer by Kyle K. ·
I think this is a symptom of misunderstanding how a BT is created. BTs are always calculated per purepath so that is why when you only have invocation of the method it works and otherwise it doesn't, unfortunately I'm not sure of a good solution with in App Mon itself. The one thing I would look at trying is calculating the number of invocations for each splitting and that may get you closer to the numbers you are looking for.
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
Can you create a measure from a Bind Value in a SQL statement? 1 Answer
API splitting for only webrequest within purepath 1 Answer
How to ignore async on ProcessRequestNotificationHelper Purepath 0 Answers
Can a measure or business transaction capture database time for a specific method execution? 1 Answer
Spliting by Query String 1 Answer