mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-16 11:05:56 +08:00
fix: default as query builder when creating new alert (#2963)
This commit is contained in:
parent
c05c939ee1
commit
314edaf1df
@ -38,7 +38,7 @@ export const alertDefaults: AlertDef = {
|
|||||||
disabled: false,
|
disabled: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
queryType: EQueryType.CLICKHOUSE,
|
queryType: EQueryType.QUERY_BUILDER,
|
||||||
panelType: PANEL_TYPES.TIME_SERIES,
|
panelType: PANEL_TYPES.TIME_SERIES,
|
||||||
},
|
},
|
||||||
op: defaultCompareOp,
|
op: defaultCompareOp,
|
||||||
@ -67,7 +67,7 @@ export const logAlertDefaults: AlertDef = {
|
|||||||
disabled: false,
|
disabled: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
queryType: EQueryType.CLICKHOUSE,
|
queryType: EQueryType.QUERY_BUILDER,
|
||||||
panelType: PANEL_TYPES.TIME_SERIES,
|
panelType: PANEL_TYPES.TIME_SERIES,
|
||||||
},
|
},
|
||||||
op: defaultCompareOp,
|
op: defaultCompareOp,
|
||||||
@ -97,7 +97,7 @@ export const traceAlertDefaults: AlertDef = {
|
|||||||
disabled: false,
|
disabled: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
queryType: EQueryType.CLICKHOUSE,
|
queryType: EQueryType.QUERY_BUILDER,
|
||||||
panelType: PANEL_TYPES.TIME_SERIES,
|
panelType: PANEL_TYPES.TIME_SERIES,
|
||||||
},
|
},
|
||||||
op: defaultCompareOp,
|
op: defaultCompareOp,
|
||||||
@ -127,7 +127,7 @@ export const exceptionAlertDefaults: AlertDef = {
|
|||||||
disabled: false,
|
disabled: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
queryType: EQueryType.CLICKHOUSE,
|
queryType: EQueryType.QUERY_BUILDER,
|
||||||
panelType: PANEL_TYPES.TIME_SERIES,
|
panelType: PANEL_TYPES.TIME_SERIES,
|
||||||
},
|
},
|
||||||
op: defaultCompareOp,
|
op: defaultCompareOp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user