Create a Safeguard

Learn how to create a Safeguard on one or multiple targeting rules within a Feature Gate to monitor regressions and automatically take action when alerts fire.

To create a Safeguard on a rule, follow these steps:

  1. Go to a Feature Gate's Setup tab

  2. Pick a targeting rule for which you want to monitor regressions

  3. Click the three-dot (...) menu and choose 'Safeguard Rule'

    Create Safeguard on a rule

  4. Choose the action to take when alerts fire:

    • Rollback to 0% - Assigns default value to all users.
    • Roll out to 100% - Assigns Pass value to all users.
    • Pause Rollout - Stops scheduled rollout progression (only available with an active Scheduled Rollout policy).

    Select an action

  5. (Optional) Set how long to monitor alerts for safeguarding the rule:

    Set evaluation period

    Recommended: Monitor topline alerts for crashes, errors, latency, and similar issues for a few days after a Feature Gate rollout to confirm stability. A 14-day evaluation period is a good starting point.

  6. Select one or more alerts to monitor:

    • Rollout alerts - For feature-specific regression detection
    • Topline alerts - For system-wide health monitoring

    Add alerts for your Safeguard

  7. Click Save

Was this helpful?