Skip to content

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.

fix: show alert type in classic experience edit (#10847)

Ashwin Bhatkal6fe69b94c91a
diff --git a/frontend/src/container/FormAlertRules/index.tsx b/frontend/src/container/FormAlertRules/index.tsx
index c9699c42e3..e01f67e090 100644
--- a/frontend/src/container/FormAlertRules/index.tsx
+++ b/frontend/src/container/FormAlertRules/index.tsx
@@ -838,22 +838,20 @@ function FormAlertRules({
>
<div className="overview-header">
<div className="alert-type-container">
- {isNewRule && (
- <Typography.Title level={5} className="alert-type-title">
- <BellDot size={14} />
-
- {alertDef.alertType === AlertTypes.ANOMALY_BASED_ALERT &&
- 'Anomaly Detection Alert'}
- {alertDef.alertType === AlertTypes.METRICS_BASED_ALERT &&
- 'Metrics Based Alert'}
- {alertDef.alertType === AlertTypes.LOGS_BASED_ALERT &&
- 'Logs Based Alert'}
- {alertDef.alertType === AlertTypes.TRACES_BASED_ALERT &&
- 'Traces Based Alert'}
- {alertDef.alertType === AlertTypes.EXCEPTIONS_BASED_ALERT &&
- 'Exceptions Based Alert'}
- </Typography.Title>
- )}
+ <Typography.Title level={5} className="alert-type-title">
+ <BellDot size={14} />
+
+ {alertDef.alertType === AlertTypes.ANOMALY_BASED_ALERT &&
+ 'Anomaly Detection Alert'}
+ {alertDef.alertType === AlertTypes.METRICS_BASED_ALERT &&
+ 'Metrics Based Alert'}
+ {alertDef.alertType === AlertTypes.LOGS_BASED_ALERT &&
+ 'Logs Based Alert'}
+ {alertDef.alertType === AlertTypes.TRACES_BASED_ALERT &&
+ 'Traces Based Alert'}
+ {alertDef.alertType === AlertTypes.EXCEPTIONS_BASED_ALERT &&
+ 'Exceptions Based Alert'}
+ </Typography.Title>
</div>
<Button