We have a problem that is plaguing us and hoping someone can give some guidance.

Our website (ASP.NET MVC, Azure VM) fairly regularly (daily) experiences some random slowdowns. Here is a typical instance from our APM software.

2022-12-03 09_43_50-Site24x7.png

The problem is it is proving very hard to find the source of the slowdowns, I suspect some kind of lock is happening, but when delving into the trace it doesn't really show anything other than everything slowing down, until I restart the server, which is becoming annoying at 5am.

The only thing I can delve from the APM tool is it happening in the MVC layer somewhere.

Does anyone know of any tools or instrumentation that can help diagnose these kind of problems. It is random, sometimes doesn't happen for days, then three times in one day.

Thanks
Craig