How to schedule Web Aapp Profiler traces for auto start and stop in a particular time and schedule auto-delete old ones

Scion 40 Reputation points
2025-03-01T20:22:10.07+00:00

I have a Windows .NET web app service, and I want to collect profiler traces only during specific times of the day and on certain days of the week. I also want to limit the number of traces collected per day to a specific amount.
Additionally, I need to exclude the first 10 minutes after startup to avoid collecting traces during that period and schedule an automatic deletion of profiler traces older than 10 days. How can I achieve this?

Thank you for any feedback in advance!
Scion

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,402 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.