mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
Fix Explore URL generator (#60653)
This commit is contained in:
parent
c289cd136c
commit
58716de073
@ -146,7 +146,7 @@ function createExploreLink(settings: DataSourceInstanceSettings, model: AlertDat
|
|||||||
return urlUtil.renderUrl(`${config.appSubUrl}/explore`, {
|
return urlUtil.renderUrl(`${config.appSubUrl}/explore`, {
|
||||||
left: JSON.stringify({
|
left: JSON.stringify({
|
||||||
datasource: name,
|
datasource: name,
|
||||||
queries: [{ refId: 'A', datasource: name, expr: queryParams }],
|
queries: [{ refId: 'A', ...queryParams }],
|
||||||
range: { from: 'now-1h', to: 'now' },
|
range: { from: 'now-1h', to: 'now' },
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user