diff --git a/public/app/features/trails/MetricScene.tsx b/public/app/features/trails/MetricScene.tsx index fe9161312b2..1f868a8ab53 100644 --- a/public/app/features/trails/MetricScene.tsx +++ b/public/app/features/trails/MetricScene.tsx @@ -164,11 +164,9 @@ export class MetricActionBar extends SceneObjectBase { public openExploreLink = async () => { reportExploreMetrics('selected_metric_action_clicked', { action: 'open_in_explore' }); this.getLinkToExplore().then((link) => { - // We need to ensure we prefix with the appSubUrl for environments that don't host grafana at the root. - const url = `${config.appSubUrl}${link}`; // We use window.open instead of a Link or because we want to compute the explore link when clicking, // if we precompute it we have to keep track of a lot of dependencies - window.open(url, '_blank'); + window.open(link, '_blank'); }); };