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: default as query builder when creating new alert (#2963)
Rajat Dabade314edaf1dfb9
diff --git a/frontend/src/container/CreateAlertRule/defaults.ts b/frontend/src/container/CreateAlertRule/defaults.tsindex ce73dda62b..adc7c9154d 100644--- a/frontend/src/container/CreateAlertRule/defaults.ts+++ b/frontend/src/container/CreateAlertRule/defaults.ts@@ -38,7 +38,7 @@ export const alertDefaults: AlertDef = {disabled: false,},},- queryType: EQueryType.CLICKHOUSE,+ queryType: EQueryType.QUERY_BUILDER,panelType: PANEL_TYPES.TIME_SERIES,},op: defaultCompareOp,@@ -67,7 +67,7 @@ export const logAlertDefaults: AlertDef = {disabled: false,},},- queryType: EQueryType.CLICKHOUSE,+ queryType: EQueryType.QUERY_BUILDER,panelType: PANEL_TYPES.TIME_SERIES,},op: defaultCompareOp,@@ -97,7 +97,7 @@ export const traceAlertDefaults: AlertDef = {disabled: false,},},- queryType: EQueryType.CLICKHOUSE,+ queryType: EQueryType.QUERY_BUILDER,panelType: PANEL_TYPES.TIME_SERIES,},op: defaultCompareOp,@@ -127,7 +127,7 @@ export const exceptionAlertDefaults: AlertDef = {disabled: false,},},- queryType: EQueryType.CLICKHOUSE,+ queryType: EQueryType.QUERY_BUILDER,panelType: PANEL_TYPES.TIME_SERIES,},op: defaultCompareOp,