From 11863040bba95dc239cdbe61045a1d130ef4a1ac Mon Sep 17 00:00:00 2001 From: Palash Gupta Date: Thu, 5 Oct 2023 10:34:17 +0530 Subject: [PATCH] fix: alerts is now migrated to new alerts page (#3669) --- frontend/src/container/CreateAlertRule/defaults.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/container/CreateAlertRule/defaults.ts b/frontend/src/container/CreateAlertRule/defaults.ts index 2ac2f3a7b8..8517d9b18c 100644 --- a/frontend/src/container/CreateAlertRule/defaults.ts +++ b/frontend/src/container/CreateAlertRule/defaults.ts @@ -3,6 +3,7 @@ import { initialQueryPromQLData, PANEL_TYPES, } from 'constants/queryBuilder'; +import ROUTES from 'constants/routes'; import { AlertTypes } from 'types/api/alerts/alertTypes'; import { AlertDef, @@ -77,7 +78,7 @@ export const logAlertDefaults: AlertDef = { }, labels: { severity: 'warning', - details: `${window.location.protocol}//${window.location.host}/logs`, + details: `${window.location.protocol}//${window.location.host}${ROUTES.LOGS_EXPLORER}`, }, annotations: defaultAnnotations, evalWindow: defaultEvalWindow,