Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Tracking the methods/functions of each user request

Moderators: Vladimir Kondratyev, Anton Katilin

Tracking the methods/functions of each user request

Postby dev.sam » Tue Jul 18, 2017 9:39 am

Currently, I am profiling the .Net based application and my requirement is to capture the functions/methods individually executed by parallel users. But by default the profiler gives us the bunch of information that we cannot distinguish user request vs function/method.

1. Which users called which functions/methods?
2. Need the user/request level segregation.
dev.sam
 
Posts: 9
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Postby Anton Katilin » Wed Jul 19, 2017 10:03 am

You can see events per request, but not per user:
https://www.yourkit.com/docs/dotnet/help/probes_ui.jsp
Anton Katilin
 
Posts: 5540
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Postby dev.sam » Thu Jul 20, 2017 6:14 am

Anton Katilin wrote:You can see events per request, but not per user:
https://www.yourkit.com/docs/dotnet/help/probes_ui.jsp


Are you planning to give this functionality in near future as well? Because if the application accessed from geographical location then we should see how the user request behaves in the server and each unique user request identify separately.
dev.sam
 
Posts: 9
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Postby Anton Katilin » Fri Jul 21, 2017 6:03 am

Could you please put more detail on the requested functionality.
What sort of calls do you want to profile, Web? Which library classes are involved?
Anton Katilin
 
Posts: 5540
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Postby dev.sam » Mon Sep 11, 2017 12:29 pm

Anton Katilin wrote:Could you please put more detail on the requested functionality.
What sort of calls do you want to profile, Web? Which library classes are involved?


It is a web based application. I need some specific information like, tracing of the Functions/Methods of each user’s request going to the server (IIS). Suppose, there are 5 users accessing the application simultaneously from different location. So here, we are looking for the information like - which users request called/executed which functions or methods.

USER 1 (IP - xxx.xx.xx.01) – Function A, Function B, Function D
USER 2 (IP - xxx.xx.xx.02) - Function C, Function F, Function A
USER 3 (IP - xxx.xx.xx.03) - Function D, Function K, Function J, Function B

And so on…

Would it be possible to pull this type of information from YourKit tool? Please let me know if I am not clear enough.
dev.sam
 
Posts: 9
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Postby Anton Katilin » Tue Sep 12, 2017 12:27 pm

Hi,

Unfortunately such grouping is not possible in the tool.

Best regards,
Anton
Anton Katilin
 
Posts: 5540
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Postby dev.sam » Tue Sep 12, 2017 4:52 pm

Anton Katilin wrote:Hi,

Unfortunately such grouping is not possible in the tool.

Best regards,
Anton


Thanks Anton. I understand this grouping/functionality is not in the tool right now.

But, we need this functionality for our business (already committed to few clients). Kindly let me know if you can deliver/customize this functionality on future releases or give me some alternative way to get this information if anything.

Also please check, if you can expose some API so that I can consume and get the asked information. Kindly help.

Thanks & Regards
Dev
dev.sam
 
Posts: 9
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Postby Anton Katilin » Wed Sep 13, 2017 6:41 am

Hello Dev

This information is not currently obtained/measured, it's not an issue of presentation. There is no API to open at the moment.

We possibly might add web request user and IP tracking by extending existing events the profiler listens to: https://www.yourkit.com/docs/dotnet/help/probes.jsp

Could you please share particular class names and method calls involved, used frameworks or libraries. In particular, you may capture a performance snapshot of that IIS ("no heap" option) and send us to support@yourkit.com along with actual names of mentioned Function A, Function B, Function D etc., so we'd check if we can extract the required user and IP information at some code point.

Best regards,
Anton
Anton Katilin
 
Posts: 5540
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Postby dev.sam » Mon Sep 18, 2017 12:07 pm

Anton Katilin wrote:Hello Dev

This information is not currently obtained/measured, it's not an issue of presentation. There is no API to open at the moment.

We possibly might add web request user and IP tracking by extending existing events the profiler listens to: https://www.yourkit.com/docs/dotnet/help/probes.jsp

Could you please share particular class names and method calls involved, used frameworks or libraries. In particular, you may capture a performance snapshot of that IIS ("no heap" option) and send us to support@yourkit.com along with actual names of mentioned Function A, Function B, Function D etc., so we'd check if we can extract the required user and IP information at some code point.

Best regards,
Anton


Hi Anton,

Any update on this? I have sent you the snapshot in the mail.
Kindly let me know if you need any further information.

Thanks & Regards
Dev
dev.sam
 
Posts: 9
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Postby Anton Katilin » Mon Sep 18, 2017 1:10 pm

Hi Dev

Perhaps we missed it, I need to check. What was the subject line?

Best regards,
Anton
Anton Katilin
 
Posts: 5540
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Postby dev.sam » Fri Sep 22, 2017 7:19 am

No issue. I have sent you the required information on 13th, Sept 17.
Subject line - Tracking the methods/functions of each user request.

Kindly check.

Regards & Thanks
Debadutta
dev.sam
 
Posts: 9
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Postby Anton Katilin » Fri Sep 22, 2017 11:07 am

Hi Debadutta

We actually answered that email.

We'll consider adding event recording for mentioned calls in the future versions. At the moment, you can profile them at a method call level only.

Best regards,
Anton
Anton Katilin
 
Posts: 5540
Joined: Wed Aug 11, 2004 8:37 am


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

cron