Create an error budget policy

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 3 Minuten Lesedauer
  • Create an error budget policy to trigger actions, such as sending a notification or creating an incident when the threshold of a service level objective is crossed.

    Vorbereitungen

    Role required: sn_srm_manager, sn_srm_admin, or sn_srm_user

    Warum und wann dieser Vorgang ausgeführt wird

    The SR Ops Workspace view is available only if you install the Site Reliability Operations application. You can create an error budget policy using the classic environment as well. To create an error budget policy threshold from the classic environment, navigate to Site Reliability Metrics > Error budget policy > Thresholds. You can also create thresholds from the Error budget policy thresholds Error budget policy thresholds related list on the Service level objective form.

    You can create an action definition to invoke a workflow, flow, or script. To create an action definition, navigate to Site Reliability Metrics > Error budget policy > Action definitions. You can create actions from the Error budget policy actions related list in the Error budget policy threshold form.

    Prozedur

    1. Navigate to Site Reliability Operations > Site Reliability Ops Workspace.
    2. Click the services page icon (Services page icon.).
      Services Overview page.
    3. On the Services Overview page, click the service that you want to create an error budget policy for.
    4. Click the Error Budget Policy tab.
      Error budget policy tab.
    5. Click the Create error budget policy link to set a threshold which determines when to take an action for your Service Level Objective.
      Add Thresholds dialog box.
    6. In the Add Thresholds dialog box, select one of the following values from the Threshold Type list:
      • Burn Rate: Rate at which an error budget is consumed. The Ideal burn rate is 1 or below because it indicates that the error budget is being consumed at an expected pace. The threshold is breached when the burn rate is equal to or greater than the specified value.
      • Error Budget Remaining: Percentage of error budget left to spend for the specified period. The threshold is breached if the percentage remaining is equal to or less than of what is specified.
    7. In the Threshold field, enter a value.
    8. Click Add.
      Hinweis:
      You can add multiple thresholds for a policy. But you can't add duplicate thresholds. If you try adding duplicate thresholds, you see an error message.

      After a threshold is added, you can add an action for that threshold.

    9. Select the threshold that you want to add an action for, and click any of the following actions:
      • Create an Incident
      • Send an Email
      • Send Slack message

        Install the Slack Spoke for ServiceNow Integration Hub plugin to automate sending messages about alerts to a Slack channel. Also, create a Webhook URL for a channel in Slack. For more information about installing the plugin and creating a Webhook URL in Slack, see Install Slack Spoke for ServiceNow Integration Hub and Create a Webhook URL for a channel in Slack.

      • Send MS Teams message
        Install the Microsoft Teams Spoke for ServiceNow Integration Hub plugin to automate sending messages about alerts to a Microsoft Teams channel. Also, create a Webhook URL for a channel in Microsoft Teams. For more information about installing the plugin and creating a Webhook URL in Microsoft Teams, see Install Microsoft Teams Spoke for ServiceNow Integration Hub and Create a Webhook URL for a channel in Microsoft Teams.
        Hinweis:
        The messages in the Microsoft Teams and Slack messaging services show the links to the reliability indicator. If the SR Ops Workspace is not installed, the link opens in the classic environment. If you want to view the reliability indicator in your available workspace, navigate to System Definition > Script Includes, and override the _genReliabilityIndicatorURL function in the ErrorBudgetPolicyActionUtils script include.
      • Create an Incident and notify on-call
      Hinweis:
      If you add all the actions, they occur at the same time when the threshold is crossed.
    10. Click Save.

      Any changes to the thresholds or actions are saved only after you click Save at the top of the form.

      If you want to edit any threshold, click the policy actions icon (Policy actions icon.) for the threshold, and then click Edit threshold.

      The required action is triggered when the threshold is crossed.
      Error budget policy view.