Hello Dipali,
Thanks for posting your question in the Microsoft Q&A forum.
By implementing these strategies, you can efficiently diagnose and mitigate issues related to CPU and memory utilization:
- Implement comprehensive logging within your applications to capture relevant information during spikes, including timestamps and request details.
- Enable Application Insights for each application. This robust monitoring tool provides valuable telemetry data such as request rates, response times, and dependency calls, aiding in pinpointing performance bottlenecks.
- Leverage profiling tools like Perf, GDB, and Valgrind to analyze CPU and memory usage at the code level.
- Enable diagnostic logging for both your App Service Plan and individual applications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful