Shift schedule

更新时间:
复制 MD 格式

The shift schedule feature in DataWorks lets you manage on-call duties for handling instance O&M alerts, ensuring a timely response. When you configure a shift schedule as the recipient for a custom monitoring rule, DataWorks sends alerts to the on-duty engineer according to the shift plan. This helps on-duty engineers promptly identify and resolve issues. This topic describes how to create and manage shift schedules.

Limitations

  • The shift schedule feature is available only in DataWorks Professional Edition or later. If you are using an earlier version of DataWorks, you must upgrade to the Professional Edition or a later version. For more information about upgrading your DataWorks edition, see Features by DataWorks edition.

  • You cannot delete historical or current-day shift plans.

Notes

  • Impact of DataWorks subscription expiration or downgrade on shift schedules.

    • After your subscription expires, you cannot access the shift schedule page. You cannot view, create, modify, or delete shift schedules and their corresponding shift plans.

    • If your subscription expires without timely renewal or you downgrade your edition, DataWorks retains your shift schedule data. If you later upgrade back to the Professional Edition or higher, you can resume using the shift schedule feature.

  • How alert notifications are received.

    • On-duty engineers receive alerts only when a shift schedule is configured as the alert recipient in a custom monitoring rule. To configure custom rules, see Rule Management.

    • After a shift schedule is configured, when an alert is triggered, the Primary On-duty Engineer receives notifications for the first two occurrences. If the issue persists, the platform notifies both the Primary On-duty Engineer and the Secondary On-duty Engineer starting from the third occurrence.

Create a shift schedule and plan

  1. Log on to the DataWorks console. In the target region, click Data Development and O&M > Operation Center in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Operation Center.

  2. In the left-side navigation pane, go to Task Monitoring > Monitoring and Alerting > Shift Schedule.

  3. On the Shift Schedule page, click the 创建值班表 icon in the left pane. In the Create Shift Schedule dialog box that appears, configure the parameters.

    Parameter

    Description

    Name

    A custom name for the shift schedule.

    Administrator

    Defaults to the current Alibaba Cloud account. You can specify the primary account or a RAM user of the DataWorks workspace as the Administrator.

    Shift Reminder

    If you enable shift reminders, DataWorks notifies on-duty engineers of their next shift in advance. The default is No Reminder. You can select One Day Before, Two Days Before, or One Week Before.

    If you select One Day Before, Two Days Before, or One Week Before, you must also configure a specific reminder time and the Reminding Method.

    Reminding Method

    DataWorks can send shift reminders by SMS, email, DingTalk Chatbot, phone, webhook, and other methods. For more information about how to add a DingTalk chatbot and obtain a webhook URL, see Scenario: Send alert notifications to a DingTalk group.

    Note

    Phone call alerts are supported only for mobile numbers in the Chinese mainland. To send alerts to mobile numbers outside the Chinese mainland, you must create a custom webhook service. DataWorks pushes messages to your webhook service, which in turn processes and forwards them to the mobile numbers.

    This parameter is required only when Shift Reminder is set to One Day Before, Two Days Before, or One Week Before.

  4. Click OK to save the shift schedule.

  5. On the new shift schedule page, click Create Shift Plan in the upper-right corner. You can also double-click a blank area for a specific date to create a shift plan.

  6. Configure the parameters in the Create Shift Plan dialog box.

    Parameter

    Description

    On-duty Engineers

    This parameter specifies the on-duty engineers for the shift. You can select the primary account or a RAM user of the current DataWorks workspace.

    Type

    • Primary On-duty Engineer: The main engineer responsible for the shift.

    • Secondary On-duty Engineer: The backup engineer for the shift.

    Note

    When an alert is triggered, the Primary On-duty Engineer receives notifications for the first two occurrences. If the issue persists, the platform notifies both the Primary On-duty Engineer and the Secondary On-duty Engineer starting from the third occurrence.

    All Day

    • Yes: The service is on duty 24 hours a day between the Start time and the End Time.

    • No: You can customize the Start time and End Time for the shift.

    Start time

    The time when the shift starts. You can customize the start time only when All Day is set to No.

    End Time

    The time when the shift ends. You can customize the end time only when All Day is set to No.

    Repetition

    Default: No Repetition. You can also set the repetition cycle to Daily, Weekly, Every Monday to Every Friday, Monthly, Yearly, or Custom.

    If you configure a repetition cycle, the shift plan is created for all recurring instances within the selected period.

    Repetition Interval

    The Repetition Interval can be set to any number of days before or after the current on-call time range.

    This parameter is required only when Repetition is set to Custom.

    End Time

    The date when the repeating shift plan ends. By default, it repeats indefinitely.

    This parameter is required when Repetition is set to Daily, Weekly, Every Monday to Every Friday, Monthly, Yearly, or Custom.

    Note
    • In the shift plan, blue indicates the Primary On-duty Engineer and yellow indicates the Secondary On-duty Engineer.

    • You can create shift plans only for the current date and future dates. You cannot create shift plans for past dates.

    • DataWorks allows you to configure multiple primary or secondary on-duty engineers for the same shift period.

Manage shift schedules

  • In the Shift Schedule list, you can perform the following operations:

    • Search for a shift schedule by Shift Schedule Name or Administrator.

    • Click the 选择 icon next to a shift schedule to Edit or Delete it.

      Note
      • The shift schedule administrator can edit or delete the shift schedule and its associated shift plans.

      • You cannot delete historical or current-day shift plans.

    • Click a shift schedule to go to its details page.

  • On the details page of a shift schedule, you can perform the following operations:

    • In the basic information section, you can view the shift schedule details and the current on-duty engineers. If a custom monitoring rule uses this shift schedule, alerts are sent based on the shift plan. To see which rules use this schedule, click Usage next to View Details. For more information about managing custom rules, see Rule Management.

    • In the shift plan section, you can filter shift plans by engineer type or view shift plans for a specific month. By default, the view shows the shift plans for all on-duty engineers for the current month.

      If you view shifts for a month other than the current one, you can click Back to Current Month to quickly return to the current month.

    • In the shift plan calendar, you can view shift details, such as the on-duty engineer, date, and type (primary or secondary). Click a shift to modify or delete it.