diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.tsx index 798a0db85e2f0..4855d71274e96 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.tsx @@ -245,7 +245,7 @@ export const Expressions: React.FC = (props) => { setRuleParams('alertOnNoData', true); } if (typeof ruleParams.alertOnGroupDisappear === 'undefined') { - setRuleParams('alertOnGroupDisappear', true); + setRuleParams('alertOnGroupDisappear', false); } }, [metadata, source]); // eslint-disable-line react-hooks/exhaustive-deps @@ -462,7 +462,7 @@ export const Expressions: React.FC = (props) => { } disabled={!hasGroupBy} - checked={Boolean(hasGroupBy && ruleParams.alertOnGroupDisappear)} + checked={Boolean(ruleParams.alertOnGroupDisappear)} onChange={(e) => setRuleParams('alertOnGroupDisappear', e.target.checked)} />