28 Nov 2018 08:13 AM - last edited on 09 Dec 2021 11:21 PM 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.
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.
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.
Three years later...is it still not possible to get method timings?
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.