How to start dotTrace when method execution time exceeds a threshold?


One specific method once a day begins to run 30 minutes longer than usual. I need to get dotTrace at this point.

Is there any ready-made solution? (we already started reinventing the wheel :))

1 comment

Hi Dmitry,


Please sorry for the delay with the answer.

If you are ready to modify the code of your application, you can use our Profiling API or Self-Profiling API. See this page for details:

Also, if it is possible to catch the moment when the method is running longer than usual, you can just attach dotTrace to your application and take a snapshot.


Please sign in to leave a comment.