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
Currently you can write custom time frames with custom Kusto queries, this works fine.
But for Application insights, a "blackout" window or "suppression" action group has to be configured. It works fine for one of suppressions, but doesn't appear to work for re-occurring suppressions. Action groups are in preview, so that's understandable.
It would make it easy if there was an outage "schedule" that could be defined, and specific alerts be associated with it.
Not for security alerts, but all the other monitoring (custom queries, metrics and insights).
This is similar to what I need as well, we have times that our service is not running and doesn't need monitoring. Has there been a solution yet to this?
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.
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.
Big Lou commented
This would be excellent if it could be implemented. We have daily and weekly service windows and it would be nice to exclude those timeframes from alerts, e.g., database maintenance plans run from 2-4AM EST daily.
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.
Please add the ability to configure service windows in AppInsights Alerting. We provide some services to customers in timeframes that are not 24/7, for example 10x7 or 8x5 (Business Hours). I would like to supress alerts that occur outside these services windows and provide uptime reports for our services within those service windows.