Tracking the methods/functions of each user request

Questions about YourKit .NET Profiler
Locked
dev.sam
Posts: 15
Joined: Tue Jul 18, 2017 9:14 am

Tracking the methods/functions of each user request

Post by dev.sam »

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.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Post by Anton Katilin »

You can see events per request, but not per user:
https://www.yourkit.com/docs/dotnet/help/probes_ui.jsp
dev.sam
Posts: 15
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Post by dev.sam »

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.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Post by Anton Katilin »

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?
dev.sam
Posts: 15
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Post by dev.sam »

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.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Post by Anton Katilin »

Hi,

Unfortunately such grouping is not possible in the tool.

Best regards,
Anton
dev.sam
Posts: 15
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Post by dev.sam »

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
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Post by Anton Katilin »

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 [email protected] 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
dev.sam
Posts: 15
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Post by dev.sam »

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 [email protected] 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
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Post by Anton Katilin »

Hi Dev

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

Best regards,
Anton
dev.sam
Posts: 15
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Post by dev.sam »

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
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Post by Anton Katilin »

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
dev.sam
Posts: 15
Joined: Tue Jul 18, 2017 9:14 am

Re: Tracking the methods/functions of each user request

Post by dev.sam »

Hi Anton,

Hope doing well. Just wanted to know, when we are targeting this features (Mentioned above) to be released. I am waiting for this feature.

Thanks
Dev
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Tracking the methods/functions of each user request

Post by Anton Katilin »

Hello Dev

Now certain news yet, but this feature is on radar.

Best regards,
Anton
qazianas
Posts: 1
Joined: Sun May 20, 2018 7:45 am

Re: Tracking the methods/functions of each user request

Post by qazianas »

Actually, just focus on one skill is the key point of success, of course you have to focus on only one skill to get what you want.
Locked