Safeguards
Ship with confidence by automatically monitoring critical metrics and intervening in Feature Gate rollouts when risk thresholds are exceeded
Safeguards continuously monitor critical metrics and automatically intervene in your Feature Gate rollouts when risk thresholds are exceeded. This ensures faster recovery from issues, eliminates the need for constant manual checks, and protects your users from unintended impact.
Safeguards is available on the Pro and Enterprise billing tiers.
When to use Safeguards
Use Safeguards when you want to:
- Limit the impact of a feature on critical business or performance metrics
- Automate rollout progression to more users based on how your metrics are performing
- Maintain system stability by automatically responding to API errors, latency spikes, or infrastructure issues
How Safeguards work
Safeguards listen to alert types that you have created in your project, such as Rollout Alerts and Topline Alerts. When any alert fires due to metric regressions, Safeguards automatically pause your rollout, roll it back, or finish a rollout based on your settings.
Pre-requisite: You must create at least one Rollout Alert or Topline Alert before configuring a Safeguard on a Feature Gate. Go to the Alerts documentation for setup instructions.Two types of safeguards
A Safeguard can use two types of alerts to take an action on your Feature Gate:
| Alert type | Definition | Use case |
|---|---|---|
| Rollout Alert | Monitors the regression of metric delta between users who pass and fail your Feature Gate | Use when you want to ensure your Feature Gate isn't causing negative drift for users receiving the new flag variation. Works only on partially rolled out rules (pass rate between 0% and 100%). |
| Topline Alert | Monitors absolute metric values regardless of Feature Gate assignment | Use when you want to take action on your Feature Gate when system metrics breach thresholds, regardless of confirming causation. Works on fully rolled out (0% or 100%) and partially rolled out rules. |
Get started with Safeguards
Follow these tutorials to start using Safeguards:
Was this helpful?