Performance issues frequently require profiler traces to diagnose a root cause. In DxP environments you can make use of Microsoft's Application Insights (AI) for this purpose. To avoid lost time from irrelevant traces you can use AI's role and time filtering to obtain a useful trace.
- With Windows app services (.Net Framework CMS 11 DxP clients) profiler must be enabled via a new support request.
- If Application Insights is not accessible, this can be requested by a new support request.
- Navigate to the AI Performance screen.
- If an issue is app service or instance specific, click the roles filter and select accordingly.
- Zoom in on a significant peak. For instance in the above graph you may select from 5 - 7AM. Besides operation time you may also be interested in CPU or memory. In that case set the Request count dropdown accordingly.
- Use the distribution selector to filter on longer running requests.
- You can also select a particular operation name to retrieve profiler traces for a particular request.
- Click on profiler traces and examine and/or download any desired traces.
Traces can be reviewed using PerfView a free tool from Microsoft or opened in Visual Studio.