# Can I adjust downtime periods?

Yes. Open your monitor's uptime report, navigate to the downtime details section, and click the incident you want to edit. From there you can:

- **Add a note**, handy for explaining the cause after the fact ("deploy rollback", "DNS provider outage", etc.)
- **Remove the incident from history**, which updates your uptime percentage and status page

## Prevent downtime from being logged in the first place

For planned work (deploys, migrations, scheduled maintenance), set a **maintenance window** instead. During a maintenance window, failed checks aren't counted as downtime and don't trigger notifications.

You can create maintenance windows:

- From the monitor's settings in the app
- Through the [API](/docs/api/maintenance-windows), which is perfect for wiring maintenance into your [deploy scripts](/docs/faq/can-i-deactivate-checks-during-deployments)
- On a recurring schedule, if your deploys happen at the same time every week

More on this in our [maintenance windows docs](/docs/features/how-to-configure-maintenance-windows).

Getting alerts right when a window ends is a separate (predictable) issue: see [Why do I get alerts right after a maintenance window ends?](/docs/faq/why-do-i-get-alerts-right-after-a-maintenance-window-ends).
