Dynatrace Classic and Latest Dynatrace both support maintenance windows, but their underlying models differ. Latest Dynatrace scopes windows with DQL matcher expressions on Grail data instead of management zones, and suppresses notifications through a workflow Problem trigger filter instead of built-in detection modes. Classic maintenance windows are not migrated automatically, so use this guide to recreate them in Latest Dynatrace.
The Latest Dynatrace platform gives you several improvements:
Dashboards,
Notebooks, and
Workflows.Latest Dynatrace introduces the following changes to maintenance windows:
Latest Dynatrace supports up to 100 upcoming maintenance window configurations. Grail stores historical windows, which do not count against the limit.
builtin:maintenance-windows).You need to recreate Classic maintenance windows manually in Latest Dynatrace. Classic maintenance windows aren't migrated automatically. You'll export your Classic configurations, translate the management zone and entity ID scope into DQL matcher expressions, and verify that notification suppression works in the Problem trigger of the workflow.
Review the following breaking changes before you start your migration.
Latest Dynatrace supports up to 100 upcoming maintenance window configurations, compared to two thousand in Dynatrace Classic. If you currently use more than 100 active or upcoming maintenance windows, you need to consolidate them before migrating.
To reduce the number of windows, use the Configuration API to export the full list, identify redundant or overlapping windows, and merge them where possible. Latest Dynatrace has more expressive scheduling rules, so a single maintenance window can often replace several Classic maintenance windows.
To recreate your maintenance windows in Latest Dynatrace:
Export your existing configurations. Use the Configuration API to list all maintenance windows and identify which ones are still relevant.
Create a maintenance window in Latest Dynatrace.
Translate the scope from management zones and entity IDs to DQL matcher filter criteria on Grail primary fields.
Go to
Workflows.
Open your workflow.
In the Problem trigger of your workflow, add maintenance.is_under_maintenance == false as a filter to exclude problems that occur during a maintenance window.
For more information, see How can I prevent sending notifications during a maintenance window?.
For full reference on maintenance windows in Latest Dynatrace, see Maintenance windows.
In the Problem trigger of your workflow, use maintenance.is_under_maintenance == false as a filter query to only trigger the workflow when the problem didn't occur during a maintenance window.
Classic maintenance windows offered three problem detection modes: detect and send alert, detect but suppress alerts, and disable problem detection entirely.
Latest Dynatrace always detects problems.
To suppress notifications during a maintenance window, add maintenance.is_under_maintenance == false as a filter in your workflow Problem trigger. There is no equivalent to disabling problem detection entirely.
Davis AI continues to detect problems, but you control whether they trigger notifications via workflows.
No. In Latest Dynatrace, you must schedule maintenance windows for a future date or a recurring future pattern. Creating windows for a past date is no longer supported.
In Dynatrace Classic, you could use retroactive maintenance windows to correct availability metrics after an unplanned outage. In Latest Dynatrace, Grail records maintenance start and end events when the window runs, so a window you create now cannot reclassify past downtime. If your availability reporting relies on retroactive maintenance windows, plan for that gap as part of your upgrade.