Scenario: Skyler creates business-hours and nights-and-weekend rotations for the web application service 🔗
Skyler, the site reliability engineering (SRE) manager for Buttercup Games, needs to create an on-call schedule for the web application SREs with the following coverage needs:
Skyler needs coverage for the web application service for business hours Monday through Friday of each week, with one responder on the team being on call for a whole week.
Skyler also needs coverage for the web application service for nights and weekends. Night coverage is 5 PM to 8 AM Monday through Friday. Weekend coverage is one responder who is on call from Friday at 5 PM to Monday at 8 AM.
Finally, Skyler needs one responder on call 24x7 as secondary coverage for one week Monday through Sunday.
Skyler takes the following steps to configure a schedule that meets these coverage needs:
Skyler creates a new schedule for primary coverage for the web application service and names it accordingly: Web application service - primary.
Skyler adds a WebApp teams tag to make the schedule easier to find. The teams tag also sorts the list of responders so they’re easier to find and select when Skyler adds them to a shift later. The following image shows the new schedule Skyler creates with the teams tag.

Skyler creates a business-hours shift in the primary schedule for the web application. Using the day-by-day shift type, Skyler creates the nightly gap in coverage for the business-hours shift. Skyler selects a shift handoff of 5 and adds the SREs as responders as shown in the following image.

Using the Schedule Preview, Skyler verifies that the business-hours shift is configured correctly. As shown in the following image, Alex is on call Monday through Friday from 8 AM to 5 PM for one week, and then Deepu, the next responder, takes over.

Next, Skyler creates a weeknights shift in the primary schedule for the web application. Using the Day-by-day shift type, Skyler creates the daily gap in coverage they need for the business-hours shift. There are only four weeknights to cover because Fridays are covered by the weekends shift, so Skyler selects a shift handoff of 4. Finally, Skyler adds the SREs as responders, as shown in the following image.

Using the Schedule Preview, shown in the following image, Skyler notices that because of the way the responders are ordered in the shifts, some responders have a weeknights shift that immediately follows their business-hours shift. The order of shifts that Skyler sees is shown in the following image.

Skyler reorders the responders so that the responders have a week off between their business-hours shift and their weeknights shift. Skyler then uses the Schedule Preview, shown in the following image, to confirm that the responders are ordered appropriately.

Finally, Skyler creates a weekends shift in the primary schedule for the web application service. For the weekends shift, Skyler uses the Week-by-week shift type, as there is no gap in coverage, and selects 1 for the shift handoff. The following image shows the weekends shift within the primary schedule for the web application service.

Skyler wants the responder for the weeknights shift to be the same as the responder for the subsequent weekends shift. Skyler uses the Schedule Preview, shown in the following image, to confirm that the responders are in the correct order.

Skyler creates a new schedule for secondary coverage for the web application service and names it accordingly: Web application service - secondary. Skyler adds the WebApp teams tag again to make the schedule easier to find. The teams tag also sorts the list of responders so they’re easier to find and select when Skyler adds them to a shift later. The following image shows the new schedule Skyler creates with the teams tag.

Skyler creates a 24x7 shift in the secondary schedule for the web application. Using the Week-by-week shift type, Skyler creates 24x7 as secondary coverage for one week, Monday through Sunday. Skyler selects a shift handoff of 1 and adds the SREs as responders.

Skyler adds the primary and secondary schedules as the first and second steps in the Incident workflow for the incident policy for the web application service. The incident workflow that Skyler creates is shown in the following image:

With the schedules configured and added to the incident policy, Skyler enables the incident policy so that alerts begin flowing and triggering incidents that notify the responders in the newly-configured schedules.
Skyler created the coverage they need by creating the following schedules and shifts:
- A primary schedule for the web application service with two shifts:
A day-by-day shift for business-hours coverage
A day-by-day shift for weeknights coverage
- A secondary schedule for the web application service with one shift:
A week-by-week shift for weekends coverage
Skyler added the schedules as the first and second steps in the incident workflow in the incident policy for the web application service. Skyler then enabled the policy so that alerts begin flowing and triggering incidents that notify the responders in the newly-configured schedule.
For steps to set up an on-call schedule, see Create and manage on-call schedules.
For steps to create an incident policy, including steps for incident workflows, see Create and configure incident policies.