2021-03-16 14:11:53 -04:00
---
stage: Monitor
2022-01-27 13:14:37 -05:00
group: Respond
2021-03-16 14:11:53 -04:00
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
# On-call Schedule Management **(PREMIUM)**
2021-10-01 20:10:00 -04:00
> [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/4544) in GitLab 13.11.
2021-03-16 14:11:53 -04:00
Use on-call schedule management to create schedules for responders to rotate on-call
responsibilities. Maintain the availability of your software services by putting your teams on-call.
2022-03-16 14:08:16 -04:00
With [escalation policies ](escalation_policies.md ) and on-call schedules, your team is notified immediately
when things go wrong so they can quickly respond to service outages and disruptions.
2021-03-16 14:11:53 -04:00
2021-08-13 20:10:05 -04:00
To use on-call schedules:
2021-03-16 14:11:53 -04:00
1. [Create a schedule ](#schedules ).
1. [Add a rotation to the schedule ](#rotations ).
## Schedules
Set up an on-call schedule for your team to add rotations to.
2021-08-13 20:10:05 -04:00
Prerequisite:
2022-01-30 19:14:49 -05:00
- You must have at least the Maintainer role.
2021-08-13 20:10:05 -04:00
To create an on-call schedule:
2021-03-16 14:11:53 -04:00
2021-08-13 20:10:05 -04:00
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Monitor > On-call Schedules** .
1. Select **Add a schedule** .
2021-09-23 18:34:10 -04:00
1. Enter the schedule's name and description and select a time zone.
2021-08-13 20:10:05 -04:00
1. Select **Add schedule** .
2021-03-16 14:11:53 -04:00
You now have an empty schedule with no rotations. This renders as an empty state, prompting you to
create [rotations ](#rotations ) for your schedule.
![Schedule Empty Grid ](img/oncall_schedule_empty_grid_v13_10.png )
2021-04-09 17:09:22 -04:00
### Edit a schedule
2021-03-16 14:11:53 -04:00
2021-08-13 20:10:05 -04:00
To update a schedule:
2021-03-16 14:11:53 -04:00
2021-08-13 20:10:05 -04:00
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Monitor > On-call Schedules** .
1. Select **Edit schedule** (**{pencil}**).
1. Edit the information.
1. Select **Save changes** .
2021-03-16 14:11:53 -04:00
2021-04-09 17:09:22 -04:00
If you change the schedule's time zone, GitLab automatically updates the rotation's restricted time
interval (if one is set) to the corresponding times in the new time zone.
2021-03-16 14:11:53 -04:00
### Delete a schedule
2021-08-13 20:10:05 -04:00
To delete a schedule:
2021-03-16 14:11:53 -04:00
2021-08-13 20:10:05 -04:00
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Monitor > On-call Schedules** .
1. Select **Delete escalation policy** (**{remove}**).
1. On the confirmation dialog, select **Delete schedule** .
2021-03-16 14:11:53 -04:00
## Rotations
Add rotations to an existing schedule to put your team members on-call.
2021-08-13 20:10:05 -04:00
To create a rotation:
2021-03-16 14:11:53 -04:00
2021-08-13 20:10:05 -04:00
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Monitor > On-call Schedules** .
1. Select the **Add a rotation** link.
1. Enter the following information:
2021-03-16 14:11:53 -04:00
- **Name:** Your rotation's name.
- **Participants:** The people you want in the rotation.
- **Rotation length:** The rotation's duration.
- **Starts on:** The date and time the rotation begins.
2021-08-13 20:10:05 -04:00
- **Enable end date:** With the toggle on, you can select the date and time your rotation
2021-03-16 14:11:53 -04:00
ends.
2021-08-13 20:10:05 -04:00
- **Restrict to time intervals:** With the toggle on, you can restrict your rotation to the
2021-04-09 17:09:22 -04:00
time period you select.
2021-03-16 14:11:53 -04:00
### Edit a rotation
2021-08-13 20:10:05 -04:00
To edit a rotation:
2021-03-16 14:11:53 -04:00
2021-08-13 20:10:05 -04:00
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Monitor > On-call Schedules** .
1. In the **Rotations** section, select **Edit rotation** (**{pencil}**).
1. Edit the information.
1. Select **Save changes** .
2021-03-16 14:11:53 -04:00
### Delete a rotation
2021-08-13 20:10:05 -04:00
To delete a rotation:
2021-03-16 14:11:53 -04:00
2021-08-13 20:10:05 -04:00
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Monitor > On-call Schedules** .
1. In the **Rotations** section, select **Delete rotation** (**{remove}**).
1. On the confirmation dialog, select **Delete rotation** .
2021-03-16 14:11:53 -04:00
## View schedule rotations
You can view the on-call schedules of a single day or two weeks. To switch between these time
periods, select the **1 day** or **2 weeks** buttons on the schedule. Two weeks is the default view.
Hover over any rotation shift participants in the schedule to view their individual shift details.
![1 Day Grid View ](img/oncall_schedule_day_grid_v13_10.png )
## Page an on-call responder
2022-03-16 14:08:16 -04:00
See [Paging ](paging.md#paging ) for more details.
2021-05-12 14:10:35 -04:00
## Removal or deletion of on-call user
If an on-call user is removed from the project or group, or their account is deleted, the
confirmation modal displays the list of that user's on-call schedules. If the user's removal or
deletion is confirmed, GitLab recalculates the on-call rotation and sends an email to the project
owners and the rotation's participants.