Agenda: All of sudden your Application starts responding slow. What to do?
In order to figure out why it is slow, you’ll need to understand what happens internally, what does each thread do? How the wallclock time is spent while processing your request? The source of that data is dynamic profiling.
Advanced Tools (aka Kudu) provides a collection of developer oriented tools and extensibility points for your App Service Apps.
Profiler should be switched on for half a minute from
Process Explorer view:
It just takes a few steps to perform the collection:
- Once Kudu is opened, switch to
w3wp.exein the list of processes (not the one with scm as it stands for KUDU ui)
- Ensure to check
Collect IIS Events
- Wait for 20-30 seconds
Wait for a minute to let
instance-name-process.diagsession to be produced and downloaded. That is much much simpler than collecting performance profiles in Docker.