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: fixed panelType when creating alerts from histogram dashboard (#5251)

SagarRajput-745d6430ab3ff
diff --git a/frontend/src/container/FormAlertRules/index.tsx b/frontend/src/container/FormAlertRules/index.tsx
index 3e2325f5be..09fc618759 100644
--- a/frontend/src/container/FormAlertRules/index.tsx
+++ b/frontend/src/container/FormAlertRules/index.tsx
@@ -77,7 +77,8 @@ function FormAlertRules({
const urlQuery = useUrlQuery();
- const panelType = urlQuery.get(QueryParams.panelTypes) as PANEL_TYPES | null;
+ // In case of alert the panel types should always be "Graph" only
+ const panelType = PANEL_TYPES.TIME_SERIES;
const {
currentQuery,