28 Nov 2018 04:13 PM - last edited on 10 Dec 2021 07:21 AM by MaciejNeumann
When looking at stack frames on purepaths we notice that it doesn't display timing information for methods because they are not instrumented:
This is just a sample, these are not the methods we would like to instrument.
How can we instrument them so we get timing information?
Solved! Go to Solution.
28 Nov 2018 05:08 PM
For now there are two options I think, one is creating custom service based on those methods, second is creating request attribute (the method has to be instrumented to provide argument or return value, so timings should also be available. For now I think there is no option to instrument method just for timings.
Regards,
Sebastian
03 May 2022 12:30 PM
Hi,
Sebastian is right. Customer services are the way to go here. They were exactly built for this, to get timings for methods that are not covered by out-of-the-box sensors.
Best
Harry
02 May 2022 08:53 PM
Three years later...is it still not possible to get method timings?
03 May 2022 01:42 AM
Hi @kristopher_sarp
We get this from many paces. As you might know, there is an option to instrument methods via OneAgent SDK feature which will give you timing information as you are expecting. You can instrument the method using SDK and then you can get the timing details for it.