SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: disabling alert from overview page doesn't work (#8640)
Amlan Kumar Nandy301d9ca4dd44
diff --git a/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsx b/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsxindex c6b65a28d4..04bd456db7 100644--- a/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsx+++ b/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsx@@ -111,7 +111,7 @@ function AlertActionButtons({return (<><div className="alert-action-buttons">- <Tooltip title={alertRuleState ? 'Enable alert' : 'Disable alert'}>+ <Tooltip title={isAlertRuleDisabled ? 'Enable alert' : 'Disable alert'}>{isAlertRuleDisabled !== undefined && (<Switchsize="small"diff --git a/frontend/src/pages/AlertDetails/hooks.tsx b/frontend/src/pages/AlertDetails/hooks.tsxindex 90ed2aca5e..1d2ccb0a78 100644--- a/frontend/src/pages/AlertDetails/hooks.tsx+++ b/frontend/src/pages/AlertDetails/hooks.tsx@@ -394,7 +394,7 @@ export const useAlertRuleStatusToggle = ({{onSuccess: (data) => {setAlertRuleState(data?.payload?.state);-+ queryClient.refetchQueries([REACT_QUERY_KEY.ALERT_RULE_DETAILS, ruleId]);notifications.success({message: `Alert has been ${data?.payload?.state === 'disabled' ? 'disabled' : 'enabled'