We would like to get an accurate count of Web Service Invocations split out by Method Name
We have found that if a Web Service is called 5 times in one Pure Path, the Web Services Dashlet will show a count of 5. If we use the Charting feature for the out of the box Business Transaction "Web Service by Method", and choose the Count aggregation, it will show a count of 1. All this time we've been thinking this was a true count of Web Services, but really it's a count of PurePaths that contain at least one call to that Web Service.
Does anyone know of a way that we can replicate the data from the Web Services Dashlet, as this seems to be accurate? I think we can do it if we define a different BT for every Web Service, but we have hundreds of Web Services so this wouldn't be feasible We'd like to have it be dynamic like the Web Services Dashlet
Answer by Kevin K. ·
Harshal,
Thanks for the suggestion I already tried that and that doesn't quite work
What that will do is add up all the Web Services that are seen in the PurePaths that contain the Web Service method name you are looking for For example, if a PurePath calls WebService A, WebServiceB, and WebServiceC all in one PurePath, then your newly created BT will show a Sum of 3 for WebService A. However, what I would want is it to show one. The measure of Web Service Count doesn't pay attention to just the Web Service you care about, hence the aggregation. I fear that the only solution is a code change, but I'm hoping I'm just missing something easy.
Thanks,
Kevin
Answer by Dennis M. ·
Hi,
I agree with Kevin here and I am facing a similar situation at a customer right now. I think a quick win could be if dynaTrace would show the pie chart like for the BT dashlet, also for the Web Services dashlet (also with the ability of sorting the different column that it will change the pie chart). This would at least be what my customer would expect out-of-the-box and what would help them a lot. Next could be a rethinking of the BT splitting measure for Web services method value, which in my eyes is currently not functioning as I would expect (as Kevin outlined).
Best regards, Dennis
Answer by Kevin K. ·
We currently have about 500 Web Services and more are added with every release. We also have these split amongst many different System Profiles; To do this manually, would take a very long time; It simply isn't a feasible workaround when dealing with a mass amount of services;
Answer by Andreas G. ·
Why can you use the Web Request Count Measure and create a Measure for Web Service A, Web Service B and Web Service B. That will then give you the exact call count for each of these Web Services. I know its a bit cumbersome if you have a lot of different Web Services - but this is the way I would solve this problem
Answer by Harshal P. ·
Hi Kevin
Here is what I did to achieve the Web Services count and chart that data:
Hope this helps.
Regards,
Harshal.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET