There should be a maintanance mode feature in App Insight for planned downtime
We have 8 web tests under one App Insight workspace to monitor the availability of our service. Now we have to do planned maintenance which will affect all these 8 web tests. Since there is no quick option available on App Insight to put entire workspace on maintenance mode we have to individually click on "Disable Webtest" button for each web tests before beginning the maintenance and then post maintenacen activities we have to again click on "Enable Webtest" button for each of these 8 webtests which is not efficient.
Can we please get "Maintenance mode" feature in App Insight exactly the way SCOM supports it? This way App Insight will not send any alert emails to operations team during the planned maintenance window and we don't have to individually disable the web tests during that time window.
Suppression of alerts during maintenance now available in Azure Monitor, as part of Action Rules (preview): https://docs.microsoft.com/azure/azure-monitor/platform/alerts-action-rules
Marcin Mielcarek commented
Maybe it would be good idea to have a simple [on]/[off for *** minutes] button, where all suppressed alerts will be automatically enabled after *** minutes.
This is indeed a very worthwhile initiative, I think it will be really very useful for my current project https://eduloh.com. I will definitely follow this discussion.
What a great information you shared with us, I am inspired by the method for the stage. It kept joined me regularly. Keep doing awesome. Thanks for sharing this blog article.
sathyan narasingh commented
any update on this?
David Schlum commented
Any update on this feature?
We have a client that uses a SaaS application that has an outage for maintenance at the same time and day every week. We are getting outage alerts during this time even though it's a planned outage.
We'd like to be able to configure "Planned outage windows" where Application Insights either doesn't test the application or it simply doesn't consider it an outage alert. In effect, under the application, I would love to see a "Planned outages" category where I could add one-off or recurring planned outage schedules that could be potentially shared across applications too. There should be an option under that to apply the planned outage to all tests or only selected tests. Additionally, it should have the option to suppress alerts during planned outages or not. In the graphs, I would like to see a differentiation between tests that were showing down during a non-planned outage time and when they were showing down during an outage. I'm thinking something as simply as using orange dots to show web tests that failed during a Planned Outage and red dots for web tests that failed outside a Planned Outage. Similarly, it would be extremely nice to also be able to determine, in the Planned Outage setup, if failed tests during the Planned Outage effect the Availability Percentages displayed. For most people, the SLA percentages are calculated based on "unplanned outages".
I think with the addition of Planned Outages as a first class citizen in Application insights, it could be exposed in many more places so that technicians troubleshooting "problems" in an application could immediately see if whatever they are viewing occurred during a "Planned Outage". In many cases, this would have saved me minutes or hours of troubleshooting when I ended up finally tracking down that something was broken because updates were happening elsewhere in the application dependency chain and not because of something actually being broken.
Chris Beers commented
Any update on this? We have the same need for one of our sites. One of our sites is not 24x7 and is not available from 12 AM to 4 AM. It would be great to add a scheduling feature to be able to enable/disable web tests depending on the schedule and thus maintenance windows.