diff --git a/public/app/features/alerting/unified/components/rule-viewer/RuleViewerVisualization.tsx b/public/app/features/alerting/unified/components/rule-viewer/RuleViewerVisualization.tsx index 45b5719eeba..175635331c7 100644 --- a/public/app/features/alerting/unified/components/rule-viewer/RuleViewerVisualization.tsx +++ b/public/app/features/alerting/unified/components/rule-viewer/RuleViewerVisualization.tsx @@ -146,7 +146,7 @@ function createExploreLink(settings: DataSourceInstanceSettings, model: AlertDat return urlUtil.renderUrl(`${config.appSubUrl}/explore`, { left: JSON.stringify({ datasource: name, - queries: [{ refId: 'A', datasource: name, expr: queryParams }], + queries: [{ refId: 'A', ...queryParams }], range: { from: 'now-1h', to: 'now' }, }), });